Interface ISqlVariable
SQL variable description
Namespace: XData.Database.SqlBlock
Assembly: XData.docfx.dll
Syntax
public interface ISqlVariable
Methods
| Improve this Doc View SourceVar<T>(String, DbType)
SQL variable value
Declaration
ISqlValue Var<T>(string name, DbType dbType)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
DbType | dbType | Database type |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, DbType, Int32)
SQL variable value
Declaration
ISqlValue Var<T>(string name, DbType dbType, int length)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
DbType | dbType | Database type |
Int32 | length | Database type length |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, DbType, Int32, Int32)
SQL variable value
Declaration
ISqlValue Var<T>(string name, DbType dbType, int length, int scale)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
DbType | dbType | Database type |
Int32 | length | Database type length |
Int32 | scale | Database type scale |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, Expression<Action<ISqlTableAdapter>>[])
SQL variable value
Declaration
ISqlValue Var<T>(string name, params Expression<Action<ISqlTableAdapter>>[] fields)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
Expression<Action<ISqlTableAdapter>>[] | fields | Table variable fields description |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, String)
Sql variable value
Declaration
ISqlValue Var<T>(string name, string nativeSqlType)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
String | nativeSqlType | Native database type name |
Returns
Type | Description |
---|---|
ISqlValue | Sql value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, String, Int32)
SQL variable value
Declaration
ISqlValue Var<T>(string name, string nativeSqlType, int length)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
String | nativeSqlType | Native database type name |
Int32 | length | Database type length |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |
Var<T>(String, String, Int32, Int32)
SQL variable value
Declaration
ISqlValue Var<T>(string name, string nativeSqlType, int length, int scale)
Parameters
Type | Name | Description |
---|---|---|
String | name | Variable name |
String | nativeSqlType | Native database type name |
Int32 | length | Database type length |
Int32 | scale | Database type scale |
Returns
Type | Description |
---|---|
ISqlValue | SQL value description |
Type Parameters
Name | Description |
---|---|
T | Variable mapped type |