Interface IRepositoryPropertyMappingAdapter<T, TValue>
Repository property mapping adapter
Inherited Members
Namespace: XData.Mapping.Dynamic
Assembly: XData.docfx.dll
Syntax
public interface IRepositoryPropertyMappingAdapter<T, TValue> : IRepositoryReadOnlyPropertyMappingAdapter, IPropertyMappingAdapter where T : class, ISqlObject, new()
Type Parameters
| Name | Description |
|---|---|
| T | |
| TValue |
Methods
| Improve this Doc View SourceDefault(DefaultType)
Default value description
Declaration
IStructureFlag Default(DefaultType source)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultType | source | Default value algorithm |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Property default value description |
Default(DefaultType, TValue)
Default value description
Declaration
IStructureFlag Default(DefaultType source, TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultType | source | Default value algorithm |
| TValue | value | Default value |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Property default value description |
Default(DefaultType, TValue, DefaultFeature)
Default value description
Declaration
IStructureFlag Default(DefaultType source, TValue value, DefaultFeature features)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultType | source | Default value algorithm |
| TValue | value | Default value |
| DefaultFeature | features | Default extended features |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Property default value description |
Default(DefaultType, DefaultFeature)
Default value description
Declaration
IStructureFlag Default(DefaultType source, DefaultFeature features)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaultType | source | Default value algorithm |
| DefaultFeature | features | Default extended features |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Property default value description |
UpdateWith(Expression<Func<IQueryStructureAdapter, TValue>>)
Update value source description
Declaration
IStructureFlag UpdateWith(Expression<Func<IQueryStructureAdapter, TValue>> expr)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<IQueryStructureAdapter, TValue>> | expr | Update value expression definition |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Update value source description |
UpdateWith(String, Type, String, DataGrouping, Expression<Func<ISubqueryLinkAdapter, IStructureFlag>>[])
Update value source description
Declaration
IStructureFlag UpdateWith(string alias, Type subqueryType, string property, DataGrouping grouping = DataGrouping.None, params Expression<Func<ISubqueryLinkAdapter, IStructureFlag>>[] attributes)
Parameters
| Type | Name | Description |
|---|---|---|
| String | alias | Subquery alias |
| Type | subqueryType | Subquery type |
| String | property | Subquery selected property |
| DataGrouping | grouping | Subquery selected property aggregate function |
| Expression<Func<ISubqueryLinkAdapter, IStructureFlag>>[] | attributes | Subquery links |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Update value source description |
UpdateWith(DataExpressionType, String)
Update value source description
Declaration
IStructureFlag UpdateWith(DataExpressionType type, string exprText)
Parameters
| Type | Name | Description |
|---|---|---|
| DataExpressionType | type | Update value source expression type |
| String | exprText | Expression text alias |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Update value source description |
UpdateWith<TDObj>(String, IQueryDescription<TDObj>, Expression<Func<TDObj, TValue>>, DataGrouping, Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[])
Update value source description
Declaration
IStructureFlag UpdateWith<TDObj>(string alias, IQueryDescription<TDObj> sub, Expression<Func<TDObj, TValue>> property, DataGrouping grouping = DataGrouping.None, params Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[] attributes)
where TDObj : class
Parameters
| Type | Name | Description |
|---|---|---|
| String | alias | Subquery alias |
| IQueryDescription<TDObj> | sub | Subquery definition |
| Expression<Func<TDObj, TValue>> | property | Subquery selected property expression |
| DataGrouping | grouping | Subquery selected property aggregate function |
| Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[] | attributes | Subquery links |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Update value source description |
Type Parameters
| Name | Description |
|---|---|
| TDObj |
UpdateWith<TDObj>(String, IQueryDescription<TDObj>, String, DataGrouping, Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[])
Update value source description
Declaration
IStructureFlag UpdateWith<TDObj>(string alias, IQueryDescription<TDObj> sub, string property, DataGrouping grouping = DataGrouping.None, params Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[] attributes)
where TDObj : class
Parameters
| Type | Name | Description |
|---|---|---|
| String | alias | Subquery alias |
| IQueryDescription<TDObj> | sub | Subquery definition |
| String | property | Subquery selected property |
| DataGrouping | grouping | Subquery selected property aggregate function |
| Expression<Func<ISubqueryLinkAdapter<T, TDObj>, IStructureFlag>>[] | attributes | Subquery links |
Returns
| Type | Description |
|---|---|
| IStructureFlag | Update value source description |
Type Parameters
| Name | Description |
|---|---|
| TDObj |