Firebird ADO.NET Provider SDK Documentation - v1.7

FbCommand.Prepare Method 

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

[Visual Basic]
NotOverridable Public Sub Prepare() _
    Implements IDbCommand.Prepare
[C#]
public void Prepare();

Implements

IDbCommand.Prepare

Remarks

Prepare is automatically called when the command is executed using ExecuteNonQuery, ExecuteReader, ExecuteReader or ExecuteScalar methods.

Exceptions

Exception Type Condition
InvalidOperationException

The connection does not exist.

-or-

The connection is not open.

-or-

The transaction is not valid.

See Also

FbCommand Class | FirebirdSql.Data.Firebird Namespace