Add a LIMIT clause to the given SQL SELECT
Namespace:
NHibernate.DialectAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Overrides Function GetLimitString ( _ querySqlString As SqlString, _ hasOffset As Boolean _ ) As SqlString |
C# |
---|
public override SqlString GetLimitString( SqlString querySqlString, bool hasOffset ) |
Visual C++ |
---|
public: virtual SqlString^ GetLimitString( SqlString^ querySqlString, bool hasOffset ) override |
JavaScript |
---|
function getLimitString(querySqlString, hasOffset); |
Parameters
- querySqlString
- Type: NHibernate.SqlCommand..::.SqlString
A Query in the form of a SqlString.
- hasOffset
- Type: System..::.Boolean
Offset of the first row is not zero