Set a limit upon the number of objects to be retrieved
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Function SetMaxResults ( _ maxResults As Integer _ ) As ICriteria |
C# |
---|
ICriteria SetMaxResults( int maxResults ) |
Visual C++ |
---|
ICriteria^ SetMaxResults( int maxResults ) |
JavaScript |
---|
function setMaxResults(maxResults); |
Parameters
- maxResults
- Type: System..::.Int32