Saxonite 1.2.11.4. BusinessMgr.

This commit is contained in:
Andy Howard
2024-06-04 16:14:45 +01:00
parent 7748941680
commit ba5801b4dc
33 changed files with 595 additions and 219 deletions
+2 -2
View File
@@ -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";