Class FilterAttribute
Base inner filter attribute
Inheritance
FilterAttribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public abstract class FilterAttribute : FilterBaseAttribute
Constructors
| Improve this Doc View SourceFilterAttribute(String, String)
Base filter attribute
Declaration
protected FilterAttribute(string source, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
String | source | Primary source alias |
String | fieldName | Primary field name |
Exceptions
Type | Condition |
---|---|
XDataRuntimeException | Primary source alias cannot be null or empty string |
XDataRuntimeException | Primary field name cannot be null or empty string |
Properties
| Improve this Doc View SourceCombination
Filter combination (filter group) name
Declaration
public string Combination { get; set; }
Property Value
Type | Description |
---|---|
String |
See Also
| Improve this Doc View SourceFieldName
Primary field name
Declaration
public string FieldName { get; }
Property Value
Type | Description |
---|---|
String |
Operation
Filter operation
Declaration
public FilterOperation Operation { get; set; }
Property Value
Type | Description |
---|---|
FilterOperation |
See Also
| Improve this Doc View SourceSource
Primary source alias
Declaration
public string Source { get; }
Property Value
Type | Description |
---|---|
String |
Extension Methods
SqlBlockExtensions.SetExpression<TTag, TResult>(TTag, Expression<Func<IBlockQueryAdapter, TResult>>)