Class FilterConditionAttribute
Attribute that defines the filter condition for a specific property.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public sealed class FilterConditionAttribute : Attribute
- Inheritance
-
objectAttributeFilterConditionAttribute
- Extension Methods
Constructors
FilterConditionAttribute()
public FilterConditionAttribute()
Properties
BuilderType
Type
of the specific WHERE condition builder that will be used for WHERE condition creation.
public Type BuilderType { get; init; }
Property Value
- Type
Remarks
Builder implementation must be a non abstract class and implement IWhereConditionBuilder.
ColumnName
Name of the database column.
public string ColumnName { get; init; }
Property Value
- string
DescriptorType
Type
of the descriptor that will be used to get the filter condition description.
public Type DescriptorType { get; init; }
Property Value
- Type
Remarks
Descriptor implementation must be a non abstract class and implement IFilterConditionDescriptor.