Config - Departments - in progress
This commit is contained in:
@@ -3,6 +3,7 @@ using Sarand.PatientMgr.Core.App;
|
||||
using Sarand.PatientMgr.Core.Mgr;
|
||||
using Sarand.PatientMgr.Win.Dbas.Data;
|
||||
using Sarand.Win.Dbas.Base;
|
||||
using Sarand.Win.Dbas.Data;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
@@ -14,20 +15,20 @@ namespace Sarand.PatientMgr.Win.Dbas.Mgr
|
||||
{
|
||||
//-------------------------------------------------------------------
|
||||
// Data members.
|
||||
private SacsDatabase db = null;
|
||||
private readonly SpmDbDataItem.DatabaseInfo dbInfo;
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Construction.
|
||||
public SpmInstitutionMgr_Dbas (SpmUserContext userContext) :
|
||||
base(userContext)
|
||||
{
|
||||
Database = SpmGlobals.Application.GetDatabase(userContext.SessionContext) as SacsDatabase;
|
||||
DbInfo = new DbDataItem.DatabaseInfo(Database);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Properties.
|
||||
protected ISacsDatabase Database { get { return db; } }
|
||||
protected SpmDbDataItem.DatabaseInfo DbInfo { get { return dbInfo; } }
|
||||
protected SacsDatabase Database { get; }
|
||||
protected DbDataItem.DatabaseInfo DbInfo { get; }
|
||||
|
||||
//-------------------------------------------------------------------
|
||||
// Utilities.
|
||||
|
||||
Reference in New Issue
Block a user