Mimer Data Provider

MimerCommandBuilder.DeriveParameters Method 

Derive parameters for the current MimerCommand.

[Visual Basic]
Shared Public Sub DeriveParameters( _ 
   ByVal command As MimerCommand _ 
)
[C#]
public static void DeriveParameters(
   MimerCommand command
);
[C++]
public: static void DeriveParameters(
   MimerCommand* command
);
[JScript]
public static function DeriveParameters(
   MimerCommand command
);

Parameters

command
The MimerCommand to create parameters for.

Remarks

For each parameter marker in the CommandText for the command a MimerParameter is added to the Parameters collection. The application needs to set the Value property before executing the MimerCommand as the default value is DBNull.

Note that DeriveParameters is supported for any SQL statements, such as SELECT, INSERT, UPDATE, DELETE, CALL, and SET. The parameters generated contain relevant information for properties such as SourceColumn, Direction, MimerDbType, IsNullable, and so on.

See Also

MimerCommandBuilder Class | Mimer.Data.Client Namespace