Method | Description | |
---|---|---|
Add ( string name, object value ) : |
This is the preferred overload for adding parameters. Do not add prefixes such as @ or ? or : as the providers append the proper prefix. This allows you to pass parameters in a provider independent fashion. All parameters added via this method are input parameters. |
|
Add ( string name, object value, tgParameterDirection direction ) : |
This should ONLY be used for parameters other than input parameters.
|
|
Add ( string name, object value, tgParameterDirection direction, DbType type, int size ) : |
This should ONLY be used for parameters other than input parameters.
|
|
Add ( string name, tgParameterDirection direction ) : |
If you need to add a parameter with an tgParameterDirection other than Input use this method.
|
|
Add ( string name, tgParameterDirection direction, DbType type, int size ) : |
This should ONLY be used for parameters other than input parameters.
|
|
Add ( |
|
|
GetEnumerator ( ) : IEnumerator | ||
tgParameters ( ) : System | ||
this ( string name ) : |
Use this method to fetch a given tgParameter by name. There should be no prefix such as @, ? or : in the name.
|
Method | Description | |
---|---|---|
Merge ( |
Used Internally to merge parameters returned by the provider back into the original collection.
|
public Add ( string name, object value ) : |
||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
value | object | The value of the parameter |
return |
public Add ( string name, object value, tgParameterDirection direction ) : |
||
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 |
return |
public Add ( string name, object value, tgParameterDirection direction, DbType type, int size ) : |
||
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 |
public Add ( string name, tgParameterDirection direction ) : |
||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
direction | tgParameterDirection | The parameter direction |
return |
public Add ( string name, tgParameterDirection direction, DbType type, int size ) : |
||
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 |
public Add ( |
||
parameter | An already created tgParameter. This is mostly used internally. | |
return |
public this ( string name ) : |
||
name | string | The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID". |
return |