Adds the expected row count into the batch.
Namespace:
NHibernate.ImplAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public MustOverride Sub AddToBatch ( _ expectation As IExpectation _ ) |
C# |
---|
public abstract void AddToBatch( IExpectation expectation ) |
Visual C++ |
---|
public: virtual void AddToBatch( IExpectation^ expectation ) abstract |
JavaScript |
---|
function addToBatch(expectation); |
Parameters
- expectation
- Type: NHibernate.AdoNet..::.IExpectation
The number of rows expected to be affected by the query.
Implements
IBatcher..::.AddToBatch(IExpectation)
Remarks
If Batching is not supported, then this is when the Command should be executed. If Batching
is supported then it should hold of on executing the batch until explicitly told to.