Specifies whether a property should be excluded from certain operations, such as data fetching and query generation.
- Namespace
- DbSyncKit
.DB .Attributes - Base Types
-
- Attribute
graph BT
Type-->Base0["Attribute"]
Type["ExcludedPropertyAttribute"]
class Type type-node
Syntax
[AttributeUsage(AttributeTargets.Property)]
public class ExcludedPropertyAttribute : Attribute
Remarks
This attribute can be applied to properties within a class to indicate that the marked property should
be excluded from specific operations. For example, it can be used to exclude a property from data fetching
and query generation.
Attributes
Type | Description |
---|---|
AttributeUsage |
Constructors
Name | Summary |
---|---|
Excluded |
Initializes a new instance of the ExcludedPropertyAttribute class.
|
Properties
Name | Property Type | Summary |
---|---|---|
Excluded | bool |
Gets a value indicating whether the property should be excluded from operations.
|