v1.2.4.2
This commit is contained in:
@@ -18,7 +18,7 @@ namespace Saxonite.Net.Standard.Base.App
|
||||
//-------------------------------------------------------------------
|
||||
public static class Version
|
||||
{
|
||||
private static String version { get; } = "1.2.4.1";
|
||||
private static String version { get; } = "1.2.4.2";
|
||||
// Retrieve version.
|
||||
public static String GetFullVersion () { return version; }
|
||||
public static String GetAppVersion ()
|
||||
|
||||
@@ -6,7 +6,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// Code generated by Sarand Database Utilities Fri 4-Mar-2022 15:28:05
|
||||
// Code generated by Sarand Database Utilities Mon 7-Mar-2022 10:06:56
|
||||
//---------------------------------------------------------------------------
|
||||
namespace Saxonite.Base.App
|
||||
{
|
||||
@@ -306,6 +306,9 @@ namespace Saxonite.Base.App
|
||||
UserRole_Id,
|
||||
UserRole_UserAccountId,
|
||||
UserRole_UserRoleCode,
|
||||
UserRole_LastLoginAt,
|
||||
UserRole_LastInvalidLoginAt,
|
||||
UserRole_InvalidLoginCount,
|
||||
UserRole_Notes,
|
||||
UserRole_Flags,
|
||||
UserRole_Status,
|
||||
@@ -365,7 +368,7 @@ namespace Saxonite.Base.App
|
||||
//-------------------------------------------------------------------
|
||||
// Data members.
|
||||
private static readonly int tableCount = 18;
|
||||
private static readonly int columnCount = 318;
|
||||
private static readonly int columnCount = 321;
|
||||
private static ulong maxTextLen = 0;
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
@@ -819,6 +822,9 @@ namespace Saxonite.Base.App
|
||||
new ColumnDfn(15,"Id",5,-5,true,19),
|
||||
new ColumnDfn(15,"UserAccountId",4,4,false,10),
|
||||
new ColumnDfn(15,"UserRoleCode",0,12,false,16),
|
||||
new ColumnDfn(15,"LastLoginAt",9,93,false,16),
|
||||
new ColumnDfn(15,"LastInvalidLoginAt",9,93,false,16),
|
||||
new ColumnDfn(15,"InvalidLoginCount",3,5,false,5),
|
||||
new ColumnDfn(15,"Notes",0,-9,false,2000),
|
||||
new ColumnDfn(15,"Flags",3,5,false,5),
|
||||
new ColumnDfn(15,"Status",0,12,false,3),
|
||||
|
||||
@@ -75,9 +75,15 @@ namespace Saxonite.Net.Standard.Base.App
|
||||
UserAccountId = userAccount.Id;
|
||||
RefreshUserData(userAccount);
|
||||
if (sessionContext.Application == Sax.Application.Admin)
|
||||
KeepLoggedIn = userAccount.KeepLoggedIn_Admin;
|
||||
{
|
||||
// Admin 'Keep logged in' recorded against System Admin user role.
|
||||
SaxUserRole userRole = userRoles.Find(item => item.UserRole == Sax.UserRole.SystemAdmin);
|
||||
if (userRole != null)
|
||||
KeepLoggedIn = userRole.KeepLoggedIn;
|
||||
}
|
||||
else if (sessionContext.Application == Sax.Application.Online)
|
||||
KeepLoggedIn = userAccount.KeepLoggedIn_Online;
|
||||
// Online 'Keep logged in' recorded against System Admin user role.
|
||||
KeepLoggedIn = userAccount.KeepLoggedIn;
|
||||
else Debugger.Break();
|
||||
|
||||
if (userRoles != null)
|
||||
|
||||
Reference in New Issue
Block a user