DeveelDB  20151217
complete SQL database system, primarly developed for .NET/Mono frameworks
Public Member Functions | Properties | List of all members
Deveel.Data.Sql.QueryLimit Class Reference

Public Member Functions

 QueryLimit (long total)
 
 QueryLimit (long offset, long count)
 

Properties

long Offset [get, private set]
 
long Count [get, private set]
 

Detailed Description

Definition at line 20 of file QueryLimit.cs.

Constructor & Destructor Documentation

Deveel.Data.Sql.QueryLimit.QueryLimit ( long  total)
inline

Definition at line 21 of file QueryLimit.cs.

22  : this(-1, total) {
23  }
Deveel.Data.Sql.QueryLimit.QueryLimit ( long  offset,
long  count 
)
inline

Definition at line 25 of file QueryLimit.cs.

25  {
26  if (count < 1)
27  throw new ArgumentException("The limit clause must have at least one element.");
28  if (offset < 0)
29  offset = 0;
30 
31  Offset = offset;
32  Count = count;
33  }

Property Documentation

long Deveel.Data.Sql.QueryLimit.Count
getprivate set

Definition at line 37 of file QueryLimit.cs.

long Deveel.Data.Sql.QueryLimit.Offset
getprivate set

Definition at line 35 of file QueryLimit.cs.


The documentation for this class was generated from the following file: