Add a LIMIT clause to the given SQL SELECT
Namespace:
NHibernate.DialectAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overridable Function GetLimitString ( _ querySqlString As SqlString, _ offset As Integer, _ limit As Integer _ ) As SqlString |
C# |
---|
public virtual SqlString GetLimitString( SqlString querySqlString, int offset, int limit ) |
Visual C++ |
---|
public: virtual SqlString^ GetLimitString( SqlString^ querySqlString, int offset, int limit ) |
JavaScript |
---|
function getLimitString(querySqlString, offset, limit); |
Parameters
- querySqlString
- Type: NHibernate.SqlCommand..::.SqlString
A Query in the form of a SqlString.
- offset
- Type: System..::.Int32
Offset of the first row to be returned by the query (zero-based)
- limit
- Type: System..::.Int32
Maximum number of rows to be returned by the query