Database.GetStoredProcCommand Method (String)
Creates a DbCommand for a stored procedure.
Namespace: Microsoft.Practices.EnterpriseLibrary.Data
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
Syntax
'Declaration
Public Overridable Function GetStoredProcCommand ( _
storedProcedureName As String _
) As DbCommand
public virtual DbCommand GetStoredProcCommand(
string storedProcedureName
)
public:
virtual DbCommand^ GetStoredProcCommand(
String^ storedProcedureName
)
public function GetStoredProcCommand(
storedProcedureName : String
) : DbCommand
Parameters
storedProcedureName
Type: System.StringThe name of the stored procedure.
Return Value
The DbCommand for the stored procedure.