40 lines
1.5 KiB
C#
40 lines
1.5 KiB
C#
using Sarand.Core.CodeTypes;
|
|
using Sarand.Core.Dbas.Base;
|
|
using Sarand.Core.ItemOptions;
|
|
using Sarand.Core.Security;
|
|
using Sarand.Core.UpdateLog;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.PatientMgr.Core.App
|
|
{
|
|
//=======================================================================
|
|
public abstract class SpmApplication
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
protected SpmApplication ()
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Database.
|
|
public abstract ISacsDatabase GetDatabase (SpmSessionContext sessionContext);
|
|
public abstract bool ColumnExists (SpmSessionContext sessionContext, SpmDbDfn.ColumnIdx columnIdx);
|
|
|
|
//-------------------------------------------------------------------
|
|
// Retrieve Global Consoles by session context.
|
|
public abstract SaSecurityConsole GetSecurityConsole (SpmSessionContext sessionContext);
|
|
public abstract SaCodeTypeConsole GetCodeTypeConsole (SpmSessionContext sessionContext);
|
|
public abstract SaItemOptionConsole GetItemOptionConsole (SpmSessionContext sessionContext);
|
|
public abstract SaUpdateLogConsole GetUpdateLogConsole (SpmSessionContext sessionContext);
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|