Click or drag to resize

DbDatabaseRunProcedure Method (String, String, IDataParameter, String, String)

Runs a stored procedure, returning an ArrayList containing the specified fields from the result of the stored procedure. N.B. This method has been retained for backward compatibility. It is recommended that a strongly typed generic list is used instead of an ArrayList.

Namespace:  Cadcorp.DataAccess
Assembly:  Cadcorp.GFB.DataAccess (in Cadcorp.GFB.DataAccess.dll) Version: 9.0.2618.0 (9.0.2618.0)
Syntax
protected ArrayList RunProcedure(
	string connectionString,
	string storedProcName,
	IDataParameter[] parameters,
	string[] fieldnames,
	string provider
)

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
fieldnames
Type: SystemString
Array of strings containing field names to retrieve
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: ArrayList
A newly instantiated ArrayList object
See Also