using Sarand.BusinessMgr.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.ItemOptions;
using System.Collections.Generic;
namespace Sarand.BusinessMgr.Net.Standard.Base.App
{
//=======================================================================
///
/// Practically persistant/static data stored in instance database, eg. Owner configuration options.
///
public abstract class SbmInstanceDataCache : SacsDisposable
{
//-------------------------------------------------------------------
// Construction.
public SbmInstanceDataCache() { }
protected override void Dispose(bool disposing)
{
}
//-------------------------------------------------------------------
///
/// Retrieve Item Options for Owner Organisation configuration.
///
///
///
public abstract List GetOwnerOptions(ISbmUserOrganisationContext userContext);
///
/// Resets the state of the cache to its initial condition.
///
/// Typically done when something significant about the instance (eg. db connection configuration) has changed.
public abstract void Reset();
//-------------------------------------------------------------------
}
//=======================================================================
}