Set a fetch size for the underlying ADO query.

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

Syntax

C#
ICriteria SetFetchSize(
	int fetchSize
)
Visual Basic
Function SetFetchSize ( _
	fetchSize As Integer _
) As ICriteria
Visual C++
ICriteria^ SetFetchSize(
	int fetchSize
)

Parameters

fetchSize
Type: System..::..Int32
the fetch size

Return Value

this (for method chaining)

See Also