Tortuga.Chain Namespace
Tortuga.Chain.Metadata Namespace

MySqlDataSourceBase..::..Procedure Method (String, Object)

Loads a procedure definition and populates it using the parameter object.

Namespace:  Tortuga.Chain.MySql
Assembly:  Tortuga.Chain.MySql (in Tortuga.Chain.MySql.dll)

Syntax


public ProcedureDbCommandBuilder<MySqlCommand, MySqlParameter> Procedure(
	string procedureName,
	Object argumentValue
)
Public Function Procedure ( _
	procedureName As String, _
	argumentValue As Object _
) As ProcedureDbCommandBuilder(Of MySqlCommand, MySqlParameter)
public:
ProcedureDbCommandBuilder<MySqlCommand^, MySqlParameter^>^ Procedure(
	String^ procedureName, 
	Object^ argumentValue
)

Parameters

procedureName
Type: String
Name of the procedure.
argumentValue
Type: Object
The argument value.

Return Value

Remarks


The procedure's definition is loaded from the database and used to determine which properties on the parameter object to use.