OracleCommand.Prepare Method ()


Creates a prepared (or compiled) version of the command at the data source.

Namespace:   System.Data.OracleClient
Assembly:  System.Data.OracleClient (in System.Data.OracleClient.dll)

public override void Prepare()

Exception Condition

The Connection is not set.


The Connection is not Open.

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

.NET Framework
Available since 1.1
Return to top