Class FilterCombinationAttribute
Data object filter combination (filter group) attribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class FilterCombinationAttribute : Attribute
Remarks
Filter combinations combine filters into named logical groups united by same logical operation (see Combination)
Default filter combination always exists. It have And combination and named as Empty
Filter combination tree based on Parent property
Constructors
| Improve this Doc View SourceFilterCombinationAttribute(String)
Data object filter combination (filter group) attribute constructor
Declaration
public FilterCombinationAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
String | name | Name of filter combination (filter group) |
Exceptions
Type | Condition |
---|---|
XDataRuntimeException | Name of filter combination (filter group) cannot be null or empty string |
Properties
| Improve this Doc View SourceCombination
Filter combination (filter group) logical operation (And or Or)
Declaration
public Combination Combination { get; set; }
Property Value
Type | Description |
---|---|
Combination |
Name
Name of filter combination (filter group)
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String |
Parent
Parent filter combination (filter group) name
Declaration
public string Parent { get; set; }
Property Value
Type | Description |
---|---|
String |
TypeId
When implemented in a derived class, gets a unique identifier for this Attribute.
Declaration
public override object TypeId { get; }
Property Value
Type | Description |
---|---|
Object | An Object that is a unique identifier for the attribute. |