Sets the batch size of the session

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

Syntax

C#
IStatelessSession SetBatchSize(
	int batchSize
)
Visual Basic
Function SetBatchSize ( _
	batchSize As Integer _
) As IStatelessSession
Visual C++
IStatelessSession^ SetBatchSize(
	int batchSize
)

Parameters

batchSize
Type: System..::..Int32
The batch size.

Return Value

The same instance of the session for methods chain.

See Also