Config - Departments - in progress

This commit is contained in:
2019-12-04 13:59:00 +00:00
parent 15541b77aa
commit 114aa49535
90 changed files with 3430 additions and 660 deletions
@@ -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.