52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
using Sarand.PatientMgr.Core.App;
|
|
using Sarand.Core.Base;
|
|
using Sarand.Core.CodeTypes;
|
|
using Sarand.Core.Dbas.Base;
|
|
using Sarand.Win.Dbas.Base;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Sarand.PatientMgr.App
|
|
{
|
|
//=======================================================================
|
|
public class SpmApplication_Desktop : SpmApplication
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Data members.
|
|
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
public SpmApplication_Desktop (PropertySet properties, SpmSessionContext sessionContext, SacsDatabase database)
|
|
{
|
|
Properties = properties;
|
|
SessionContext = sessionContext;
|
|
Database = database;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
// Properties.
|
|
public PropertySet Properties { get; }
|
|
public SpmSessionContext SessionContext { get; }
|
|
public SacsDatabase Database { get; }
|
|
|
|
//-------------------------------------------------------------------
|
|
// Database.
|
|
public override ISacsDatabase GetDatabase (SpmSessionContext sessionContext)
|
|
{
|
|
return Database;
|
|
}
|
|
//public override bool ColumnExists (SbmSessionContext sessionContext, SbmDbDfn.ColumnIdx columnIdx)
|
|
|
|
//-------------------------------------------------------------------
|
|
// Code Type console.
|
|
public override SaCodeTypeConsole GetCodeTypeConsole (SpmUserContext userContext)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|