Prepare Method

Prepares or compiles the AseCommand on the data source.

Syntax

void Prepare( )

Implements

IDbCommand.Prepare

Usage

  • Before you call Prepare, specify the datatype of each parameter in the statement to be prepared.

  • If you call an Execute method after calling Prepare, any parameter value that is larger than the value specified by the Size property is automatically truncated to the original specified size of the parameter, and no truncation errors are returned.