Creates a prepared (or compiled) version of the command.
Prepare is automatically called when the command is executed using ExecuteNonQuery, ExecuteReader, ExecuteReader or ExecuteScalar methods.
Exception Type | Condition |
---|---|
InvalidOperationException |
The connection does not exist. -or- The connection is not open. -or- The transaction is not valid. |
FbCommand Class | FirebirdSql.Data.Firebird Namespace