Interface ISetSqlVarAdapter
SQL variable assignment adapter
Namespace: XData.Database.SqlBlock
Assembly: XData.docfx.dll
Syntax
public interface ISetSqlVarAdapter
Methods
| Improve this Doc View SourceVar<T>(String, Expression<Func<ISqlValueAdapter, ISqlValue<T>>>)
SQL variable value assignment
Declaration
ISqlValue<T> Var<T>(string name, Expression<Func<ISqlValueAdapter, ISqlValue<T>>> value)
Parameters
| Type | Name | Description |
|---|---|---|
| String | name | Variable name |
| Expression<Func<ISqlValueAdapter, ISqlValue<T>>> | value | Value assignment |
Returns
| Type | Description |
|---|---|
| ISqlValue<T> | SQL value description |
Type Parameters
| Name | Description |
|---|---|
| T | Value type |