Set a limit upon the number of objects to be retrieved

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

Syntax

C#
IQueryOver<TRoot> Take(
	int maxResults
)
Visual Basic
Function Take ( _
	maxResults As Integer _
) As IQueryOver(Of TRoot)
Visual C++
IQueryOver<TRoot>^ Take(
	int maxResults
)

Parameters

maxResults
Type: System..::..Int32

[Missing <param name="maxResults"/> documentation for "M:NHibernate.IQueryOver`1.Take(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.IQueryOver`1.Take(System.Int32)"]

See Also