Interface ISqlParamAdapter
Adapter to describe SQL block parameters
Namespace: XData.Database.SqlBlock
Assembly: XData.docfx.dll
Syntax
public interface ISqlParamAdapter
Methods
| Improve this Doc View SourceParam<T>(String, DbType)
SQL block parameter
Declaration
ISqlParam Param<T>(string name, DbType dbType)
Parameters
Type | Name | Description |
---|---|---|
String | name | Parameter name |
DbType | dbType | Parameter database type |
Returns
Type | Description |
---|---|
ISqlParam | SQL block parameter description |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped type |
Param<T>(String, DbType, Int32)
SQL block parameter
Declaration
ISqlParam Param<T>(string name, DbType dbType, int length)
Parameters
Type | Name | Description |
---|---|---|
String | name | Parameter name |
DbType | dbType | Parameter database type |
Int32 | length | Parameter length |
Returns
Type | Description |
---|---|
ISqlParam | SQL block parameter description |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped typ |
Param<T>(String, DbType, String)
SQL block parameter
Declaration
ISqlParam Param<T>(string name, DbType dbType, string nativeSqlType)
Parameters
Type | Name | Description |
---|---|---|
String | name | Parameter name |
DbType | dbType | Parameter database type |
String | nativeSqlType | Parameter native SQL type |
Returns
Type | Description |
---|---|
ISqlParam | SQL block parameter description |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped typ |
Param<T>(String, DbType, String, Int32)
SQL block parameter
Declaration
ISqlParam Param<T>(string name, DbType dbType, string nativeSqlType, int length)
Parameters
Type | Name | Description |
---|---|---|
String | name | Parameter name |
DbType | dbType | Parameter database type |
String | nativeSqlType | Parameter native SQL type |
Int32 | length | Parameter length |
Returns
Type | Description |
---|---|
ISqlParam | SQL block parameter description |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped typ |
Param<T>(String, SqlType)
SQL block parameter
Declaration
ISqlParam Param<T>(string name, SqlType type)
Parameters
Type | Name | Description |
---|---|---|
String | name | Parameter name |
SqlType | type | Parameter type |
Returns
Type | Description |
---|---|
ISqlParam | SQL block parameter description |
Type Parameters
Name | Description |
---|---|
T | Parameter mapped type |