SB 20-Jun-2019
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using Sarand.Core.Base;
|
||||
using Sarand.Core.CodeTypes;
|
||||
using Sarand.Core.Dbas.Base;
|
||||
using Sarand.Core.Interfaces;
|
||||
using Sarand.Core.ItemDocs;
|
||||
using Sarand.Core.ItemOptions;
|
||||
@@ -53,7 +54,7 @@ namespace Sarand.PatientMgr.Core.App
|
||||
public SpmUserContext UserContext { get; }
|
||||
public SpmSessionContext SessionContext { get { return UserContext.SessionContext; } }
|
||||
public SpmSecurityProfile SecurityProfile { get { return UserContext.SecurityProfile; } }
|
||||
|
||||
public DbUpdateInfo DbUpdateInfo { get { return UserContext.DbUpdateInfo; } }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Managers.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Sarand.Core.Bus;
|
||||
using Sarand.Core.Dbas.Base;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -30,6 +31,7 @@ namespace Sarand.PatientMgr.Core.App
|
||||
public SpmSessionContext SessionContext { get; }
|
||||
public UserData User { get; } = new UserData();
|
||||
public SpmSecurityProfile SecurityProfile { get; } = new SpmSecurityProfile(false);
|
||||
public DbUpdateInfo DbUpdateInfo { get; private set; }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user