DbDatabaseRunProcedure Method (String, String, IDataParameter, String, String) |
Runs a stored procedure, returning a DataSet that contains the results of the stored procedure in
a named table.
Namespace:
Cadcorp.DataAccess
Assembly:
Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxprotected DataSet RunProcedure(
string connectionString,
string storedProcName,
IDataParameter[] parameters,
string tableName,
string provider
)
Protected Function RunProcedure (
connectionString As String,
storedProcName As String,
parameters As IDataParameter(),
tableName As String,
provider As String
) As DataSet
Parameters
- connectionString
- Type: SystemString
String defining the database connection - storedProcName
- Type: SystemString
Name of the stored procedure - parameters
- Type: System.DataIDataParameter
Array of IDataParameter objects containing parameters to the stored procedure - tableName
- Type: SystemString
Name to use for the table in the returned DataSet - provider
- Type: SystemString
[Missing <param name="provider"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunProcedure(System.String,System.String,System.Data.IDataParameter[],System.String,System.String)"]
Return Value
Type:
DataSetA newly instantiated DataSet object
Return Value
Type:
DataSet
See Also