Interface IInnerFilterAdapter
Inner filter description adapter
Inherited Members
Namespace: XData.Mapping.Dynamic
Assembly: XData.docfx.dll
Syntax
public interface IInnerFilterAdapter : IFilterAdapter
Methods
| Improve this Doc View SourceConstFilter(String, String, Object)
Constant valued filter description
Declaration
IFilterDescription ConstFilter(string name, string field, object constantValue)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Filter name |
| String | field | Field name to filter on |
| Object | constantValue | Constant value |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
ConstFilter(String, String, FilterConstantType)
Constant valued filter description
Declaration
IFilterDescription ConstFilter(string name, string field, FilterConstantType constantType)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Filter name |
| String | field | Field name to filter on |
| FilterConstantType | constantType | Constant type |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
ConstFilter(String, String, FilterConstantType, Object)
Constant valued filter description
Declaration
IFilterDescription ConstFilter(string name, string field, FilterConstantType constantType, object constantValue)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Filter name |
| String | field | Field name to filter on |
| FilterConstantType | constantType | Constant type |
| Object | constantValue | Constant value |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
ConstFilter(String, String, FilterConstantType, Object, FilterNullable)
Constant valued filter description
Declaration
IFilterDescription ConstFilter(string name, string field, FilterConstantType constantType, object constantValue, FilterNullable nullable)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Filter name |
| String | field | Field name to filter on |
| FilterConstantType | constantType | Constant type |
| Object | constantValue | Constant value |
| FilterNullable | nullable | Filter null value handling mode |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
DictFilter(String, String, String, String)
Dictionary code filter description
Declaration
IFilterDescription DictFilter(string dictTable, string dictId, string dictCode, string dictValue)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dictTable | Dictionary table name |
| String | dictId | Dictionary table identity column |
| String | dictCode | Dictionary table code column |
| String | dictValue | Dictionary code value to filter on |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
DictFilter(String, String, String, String, Boolean)
Dictionary code filter description
Declaration
IFilterDescription DictFilter(string dictTable, string dictId, string dictCode, string dictValue, bool valueIsVariable)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dictTable | Dictionary table name |
| String | dictId | Dictionary table identity column |
| String | dictCode | Dictionary table code column |
| String | dictValue | Dictionary code value to filter on |
| Boolean | valueIsVariable | Dictionary code value is a variable name flag |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
DictFilter(String, String, String, String, String)
Dictionary code filter description
Declaration
IFilterDescription DictFilter(string dictTable, string dictId, string dictCode, string dictValue, string field)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dictTable | Dictionary table name |
| String | dictId | Dictionary table identity column |
| String | dictCode | Dictionary table code column |
| String | dictValue | Dictionary code value to filter on |
| String | field | Field name to filter on |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
DictFilter(String, String, String, String, String, Boolean)
Dictionary code filter description
Declaration
IFilterDescription DictFilter(string dictTable, string dictId, string dictCode, string dictValue, string field, bool valueIsVariable)
Parameters
| Type | Name | Description |
|---|---|---|
| String | dictTable | Dictionary table name |
| String | dictId | Dictionary table identity column |
| String | dictCode | Dictionary table code column |
| String | dictValue | Dictionary code value to filter on |
| String | field | Field name to filter on |
| Boolean | valueIsVariable | Dictionary code value is a variable name flag |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
ExprFilter(String, String)
Expression filter description
Declaration
IFilterDescription ExprFilter(string field, string exprText)
Parameters
| Type | Name | Description |
|---|---|---|
| String | field | Field name to filter on |
| String | exprText | SQL expression text |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
ExprFilter<T>(String, Expression<Func<IQueryStructureAdapter, T>>)
Expression filter description
Declaration
IFilterDescription ExprFilter<T>(string field, Expression<Func<IQueryStructureAdapter, T>> expression)
Parameters
| Type | Name | Description |
|---|---|---|
| String | field | Field name to filter on |
| Expression<Func<IQueryStructureAdapter, T>> | expression | SQL expression description |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
Type Parameters
| Name | Description |
|---|---|
| T |
Link(String, String)
Inner link filter description
Declaration
IFilterDescription Link(string linkedAlias, string linkedField)
Parameters
| Type | Name | Description |
|---|---|---|
| String | linkedAlias | Linked source alias |
| String | linkedField | Linked source field name to link |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
Link(String, String, String)
Inner link filter description
Declaration
IFilterDescription Link(string linkedAlias, string linkedField, string field)
Parameters
| Type | Name | Description |
|---|---|---|
| String | linkedAlias | Linked source alias |
| String | linkedField | Linked source field name to link |
| String | field | Current field name to link |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
RangeFilter(String, Object[])
Range filter description
Declaration
IFilterDescription RangeFilter(string field, params object[] range)
Parameters
| Type | Name | Description |
|---|---|---|
| String | field | Field name to filter on |
| Object[] | range | Values range |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |
SubqueryFilter(String, String)
Subquery filter (exists, not exists, in select, not in select) description
Declaration
IFilterDescription SubqueryFilter(string field, string subqueryAlias)
Parameters
| Type | Name | Description |
|---|---|---|
| String | field | Field name to filter on |
| String | subqueryAlias | Subquery alias |
Returns
| Type | Description |
|---|---|
| IFilterDescription | Filter description |