Interface IMergeBlockAdapter
Merge mapping adapter
Inherited Members
Namespace: XData.Database.SqlBlock
Assembly: XData.docfx.dll
Syntax
public interface IMergeBlockAdapter : ISetBlockAdapter
Methods
| Improve this Doc View SourceField<TValue>(Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>>, Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[])
Field mapping
Declaration
TValue Field<TValue>(Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>> value, params Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[] attributes)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>> | value | Property mapping value |
| Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[] | attributes | Merge roles structure flags |
Returns
| Type | Description |
|---|---|
| TValue | Field value |
Type Parameters
| Name | Description |
|---|---|
| TValue | Field type |
Field<TValue>(String, Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>>, Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[])
Field mapping
Declaration
TValue Field<TValue>(string fieldName, Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>> value, params Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[] attributes)
Parameters
| Type | Name | Description |
|---|---|---|
| String | fieldName | Field name |
| Expression<Func<ISqlValueAdapter, ISqlValue<TValue>>> | value | Property mapping value |
| Expression<Func<IMergeAttributeAdapter, IStructureFlag>>[] | attributes | Merge roles structure flags |
Returns
| Type | Description |
|---|---|
| TValue | Field value |
Type Parameters
| Name | Description |
|---|---|
| TValue | Field type |