Add an insert / delete / update to the current batch (might be called multiple times for a single PrepareBatchStatement())

Namespace: NHibernate.Engine
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void AddToBatch(
	IExpectation expectation
)
Visual Basic
Sub AddToBatch ( _
	expectation As IExpectation _
)
Visual C++
void AddToBatch(
	IExpectation^ expectation
)

Parameters

expectation
Type: NHibernate.AdoNet..::..IExpectation
Determines whether the number of rows affected by query is correct.

See Also