The IBatcher type exposes the following members.

Methods

  NameDescription
AbortBatch
Must be called when an exception occurs.
AddToBatch
Add an insert / delete / update to the current batch (might be called multiple times for a single PrepareBatchStatement())
CancelLastQuery
Cancel the current query statement
CloseCommand
Close a IDbCommand opened using PrepareCommand()
CloseCommands
Close any query statements that were left lying around
Dispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
ExecuteBatch
Execute the batch
ExecuteNonQuery
Executes the IDbCommand.
ExecuteReader
Gets an IDataReader by calling ExecuteReader on the IDbCommand.
PrepareBatchCommand
Get a batchable IDbCommand to use for inserting / deleting / updating (might be called many times before a single call to ExecuteBatch()
PrepareCommand
Get a non-batchable an IDbCommand to use for inserting / deleting / updating. Must be explicitly released by CloseCommand()
PrepareQueryCommand
Get an IDbCommand for using in loading / querying.

See Also