Interface ISqlBlockAdapter<T>
Adapter of SQL block returning data
Inherited Members
Namespace: XData.Database.SqlBlock
Assembly: XData.docfx.dll
Syntax
public interface ISqlBlockAdapter<T> : ISqlBlockAdapter where T : class, new()
Type Parameters
| Name | Description |
|---|---|
| T | Returned data type |
Methods
| Improve this Doc View SourceReturn(Expression<Func<IBlockQueryStructure, IBlockQueryDescription<T>>>)
Returning data out of sql block
Declaration
ISqlBlock Return(Expression<Func<IBlockQueryStructure, IBlockQueryDescription<T>>> selectQuery)
Parameters
| Type | Name | Description |
|---|---|---|
| Expression<Func<IBlockQueryStructure, IBlockQueryDescription<T>>> | selectQuery | Select query description |
Returns
| Type | Description |
|---|---|
| ISqlBlock | SQL block description |