Method | Description | |
---|---|---|
tgParameter ( ) : System | ||
tgParameter ( string name, object value ) : System |
This is the provider independent way to use parameters, you can do so with the other methods as well but this is the preferred constructor for all input parameters.
|
|
tgParameter ( string name, object value, tgParameterDirection direction ) : System |
Use this constructor for non-input parameters only.
|
|
tgParameter ( string name, object value, tgParameterDirection direction, DbType type, int size ) : System |
Use this constructor for non-input parameters only.
|
|
tgParameter ( string name, tgParameterDirection direction, DbType type, int size ) : System |
Use this constructor for non-input parameters only.
|
public tgParameter ( string name, object value ) : System | ||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
value | object | The value of the parameter |
return | System |
public tgParameter ( string name, object value, tgParameterDirection direction ) : System | ||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
value | object | The value of the parameter |
direction | tgParameterDirection | The direction of the parameter |
return | System |
public tgParameter ( string name, object value, tgParameterDirection direction, DbType type, int size ) : System | ||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
value | object | The value of the parameter |
direction | tgParameterDirection | The parameter direction |
type | DbType | The System.Data.DbType of the parameter |
size | int | The size. For strings the length, for most others 0 can be passed in |
return | System |
public tgParameter ( string name, tgParameterDirection direction, DbType type, int size ) : System | ||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
direction | tgParameterDirection | The parameter direction |
type | DbType | The System.Data.DbType of the parameter |
size | int | The size. For strings the length, for most others 0 can be passed in |
return | System |