Interface IQueryWithAdapter<TRoot>
Common-Table-Expression (WITH) mapping attributes
Namespace: XData.Mapping.Dynamic
Assembly: XData.docfx.dll
Syntax
public interface IQueryWithAdapter<TRoot>
where TRoot : class
Type Parameters
Name | Description |
---|---|
TRoot | Common-Table-Expression (WITH) initial subquery mapped type |
Methods
| Improve this Doc View SourceProperties(Expression<Func<TRoot, Object>>[])
Common-Table-Expression (WITH) properties order
Declaration
IQueryWithFlag Properties(params Expression<Func<TRoot, object>>[] properties)
Parameters
Type | Name | Description |
---|---|---|
Expression<Func<TRoot, Object>>[] | properties | Common-Table-Expression (WITH) properties expressions |
Returns
Type | Description |
---|---|
IQueryWithFlag | Common-Table-Expression (WITH) flag |
RecursiveType(WithRecursiveType)
Common-Table-Expression (WITH) recursive link type attribute
Declaration
IQueryWithFlag RecursiveType(WithRecursiveType withType)
Parameters
Type | Name | Description |
---|---|---|
WithRecursiveType | withType | Common-Table-Expression (WITH) recursive link type |
Returns
Type | Description |
---|---|
IQueryWithFlag | Common-Table-Expression (WITH) flag |
WithRecursive<TSubquery>(String, IQueryDescription<TSubquery>, Expression<Func<ISubqueryLinkAdapter<TRoot, TSubquery>, IFilterDescription>>[])
Common-Table-Expression (WITH) recursive subqueries
Declaration
IQueryWithFlag WithRecursive<TSubquery>(string alias, IQueryDescription<TSubquery> query, params Expression<Func<ISubqueryLinkAdapter<TRoot, TSubquery>, IFilterDescription>>[] filters)
where TSubquery : class
Parameters
Type | Name | Description |
---|---|---|
String | alias | Common-Table-Expression (WITH) recursive subquery alias |
IQueryDescription<TSubquery> | query | Common-Table-Expression (WITH) recursive subquery description |
Expression<Func<ISubqueryLinkAdapter<TRoot, TSubquery>, IFilterDescription>>[] | filters | Common-Table-Expression (WITH) recursive subquery links |
Returns
Type | Description |
---|---|
IQueryWithFlag | Common-Table-Expression (WITH) flag |
Type Parameters
Name | Description |
---|---|
TSubquery | Common-Table-Expression (WITH) recursive subquery type |