Portal application - initial.

This commit is contained in:
2021-07-08 20:50:46 +01:00
parent 13c79a8da4
commit 01ae03ddfc
1208 changed files with 186342 additions and 1690 deletions
@@ -9,20 +9,23 @@ namespace Sarand.BusinessMgr.Net.Standard.Dbas.Bus
{
//-------------------------------------------------------------------
// Data members.
private readonly SbmUserContext userContext;
private readonly SbmInternals internals;
//-------------------------------------------------------------------
// Construction.
public SbmSystemAccountUser_Dbas(SbmUserContext userContext, SysId accountId, SysId userId, ushort flags) :
base(userContext, accountId, userId)
public SbmSystemAccountUser_Dbas(SbmInternals internals, SysId accountId, SysId userId, ushort flags) :
base(internals.UserContext, accountId, userId)
{
this.userContext = userContext;
this.internals = internals;
if (this.internals != null) { }
Flags = flags;
}
protected override void Dispose(bool disposing)
{
if (disposing)
{
// NB Do not dispose the Internals - owned by manager.
}
base.Dispose(disposing);
}