Method | Description | |
---|---|---|
CacheParameterSet ( string connectionString, string commandText ) : void |
add parameter array to the cache
|
|
GetCachedParameterSet ( string connectionString, string commandText ) : System.Data.OleDb.OleDbParameter[] |
retrieve a parameter array from the cache
|
|
GetSpParameterSet ( string connectionString, string spName ) : System.Data.OleDb.OleDbParameter[] |
Retrieves the set of OleDbParameters appropriate for the stored procedure This method will query the database for this information, and then store it in a cache for future requests. |
|
GetSpParameterSet ( string connectionString, string spName, bool includeReturnValueParameter ) : System.Data.OleDb.OleDbParameter[] |
Retrieves the set of OleDbParameters appropriate for the stored procedure This method will query the database for this information, and then store it in a cache for future requests. |
Method | Description | |
---|---|---|
CloneParameters ( System.Data.OleDb.OleDbParameter originalParameters ) : System.Data.OleDb.OleDbParameter[] | ||
DiscoverSpParameterSet ( string connectionString, string spName, bool includeReturnValueParameter ) : System.Data.OleDb.OleDbParameter[] |
resolve at run-time the appropriate set of OleDbParameters for a stored procedure
|
|
OleDbHelperParameterCache ( ) : System |
public static CacheParameterSet ( string connectionString, string commandText ) : void | ||
connectionString | string | a valid connection string for an OleDbConnection |
commandText | string | the stored procedure name or T-OleDb command |
return | void |
public static GetCachedParameterSet ( string connectionString, string commandText ) : System.Data.OleDb.OleDbParameter[] | ||
connectionString | string | a valid connection string for a OleDbConnection |
commandText | string | the stored procedure name or T-OleDb command |
return | System.Data.OleDb.OleDbParameter[] |
public static GetSpParameterSet ( string connectionString, string spName ) : System.Data.OleDb.OleDbParameter[] | ||
connectionString | string | a valid connection string for a OleDbConnection |
spName | string | the name of the stored prcedure |
return | System.Data.OleDb.OleDbParameter[] |
public static GetSpParameterSet ( string connectionString, string spName, bool includeReturnValueParameter ) : System.Data.OleDb.OleDbParameter[] | ||
connectionString | string | a valid connection string for an OleDbConnection |
spName | string | the name of the stored procedure |
includeReturnValueParameter | bool | a bool value indicating weather the return value parameter should be included in the results |
return | System.Data.OleDb.OleDbParameter[] |