Add an insert / delete / update to the current batch (might be called multiple times
for a single PrepareBatchStatement())
Namespace:
NHibernate.EngineAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub AddToBatch ( _ expectation As IExpectation _ ) |
C# |
---|
void AddToBatch( IExpectation expectation ) |
Visual C++ |
---|
void AddToBatch( IExpectation^ expectation ) |
JavaScript |
---|
function addToBatch(expectation); |
Parameters
- expectation
- Type: NHibernate.AdoNet..::.IExpectation
Determines whether the number of rows affected by query is correct.