Saxonite 1.2.11.4. BusinessMgr.
This commit is contained in:
@@ -626,7 +626,7 @@ namespace Sarand.Net.Standard.Base.Dbas
|
||||
{
|
||||
if (bit > 0 && bit <= 32)
|
||||
{
|
||||
// The operation depands on whether the value should be matched or not.
|
||||
// The operation depends on whether the value should be matched or not.
|
||||
String condition = (match? "<>" : "=");
|
||||
// Test is achieved by shifting the value so as to drop the target bit, shift back one bit
|
||||
// and identify those value that then do not match the original value shifted by one place less.
|
||||
@@ -727,7 +727,7 @@ namespace Sarand.Net.Standard.Base.Dbas
|
||||
{
|
||||
// Must have an 'Order By' clause to use 'Offset ... Fetch Next ...'
|
||||
if (orderByData.IsEmpty())
|
||||
throw new NotSupportedException("Query paging requires sort ofrder to be specified");
|
||||
throw new NotSupportedException("Query paging requires sort order to be specified");
|
||||
if (DbGlobalDbms.Type != DbmsType.MsSql)
|
||||
throw new NotSupportedException("Query paging only supported for MS SQL");
|
||||
query += " OFFSET " + ((paging.PageNo - 1) * paging.PageLength) + " ROWS FETCH NEXT " + paging.PageLength + " ROWS ONLY";
|
||||
|
||||
Reference in New Issue
Block a user