DbDatabaseRunProcedure Method (DbConnection, String, String, IDataParameter, String, String, String) |
Runs a stored procedure, returning a DataView that contains the results of the stored procedure in
a named table within a DataSet.
Namespace:
Cadcorp.DataAccess
Assembly:
Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntaxprotected DataView RunProcedure(
DbConnection connection,
string connectionString,
string storedProcName,
IDataParameter[] parameters,
string tableName,
string sortOrder,
string provider
)
Protected Function RunProcedure (
connection As DbConnection,
connectionString As String,
storedProcName As String,
parameters As IDataParameter(),
tableName As String,
sortOrder As String,
provider As String
) As DataView
Parameters
- connection
- Type: System.Data.CommonDbConnection
[Missing <param name="connection"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunProcedure(System.Data.Common.DbConnection,System.String,System.String,System.Data.IDataParameter[],System.String,System.String,System.String)"]
- 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 DataSet - sortOrder
- Type: SystemString
Default sort order for the DataView - provider
- Type: SystemString
[Missing <param name="provider"/> documentation for "M:Cadcorp.DataAccess.DbDatabase.RunProcedure(System.Data.Common.DbConnection,System.String,System.String,System.Data.IDataParameter[],System.String,System.String,System.String)"]
Return Value
Type:
DataViewA newly instantiated DataView object
Return Value
Type:
DataView
See Also