Portal application - initial.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user