Edit

Share via


OracleCommand.Prepare Method

Definition

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

public:
 virtual void Prepare();
public:
 override void Prepare();
public void Prepare ();
public override void Prepare ();
abstract member Prepare : unit -> unit
override this.Prepare : unit -> unit
override this.Prepare : unit -> unit
Public Sub Prepare ()
Public Overrides Sub Prepare ()

Implements

Exceptions

The Connection is not set.

-or-

The Connection is not Open().

Remarks

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

Applies to

See also