Files
BusinessMgr-2019/SaBusMgrStandardBase/Base/App/SbmInstanceConfig.cs
T
2025-01-27 10:01:32 +00:00

57 lines
2.0 KiB
C#

using Sarand.BusinessMgr.Net.Standard.Base.Core;
using Sarand.Net.Standard.Base.Core;
namespace Sarand.BusinessMgr.Net.Standard.Base.App
{
//=======================================================================
/// <summary>
/// Application and Owner configuration associated with an instance.
/// </summary>
public abstract class SbmInstanceConfig : ISbmInstanceConfig
{
//-------------------------------------------------------------------
// Construction.
protected SbmInstanceConfig() { }
//-------------------------------------------------------------------
// Application options.
public abstract bool AllowApplicationOption(Sbm.ConfigOption option, bool defaultResponse);
//-------------------------------------------------------------------
// Defaults.
public abstract ISbmInstanceConfig.DefaultsData GetDefaults();
//-------------------------------------------------------------------
// Contacts.
// Supported affiliate types.
public abstract bool AllowAffiliateType(Sbm.AffiliateType type, bool defaultResponse);
// Supported Association types.
public abstract bool AllowAssociationType(Sbm.AssociationType type, bool defaultResponse);
//-------------------------------------------------------------------
// Transactions.
// Supported Transaction types.
public abstract bool AllowTransactionType(Sbm.TransactionType type, bool defaultResponse);
//-------------------------------------------------------------------
// Interfaces.
/// <summary>
/// Whether the Interface Category is allowed.
/// </summary>
public abstract bool AllowInterfaceCategory(SaInterfaceCategory interfaceCategory, bool defaultResponse);
//-------------------------------------------------------------------
// Update Log.
public abstract bool IsColumnChangeLogged(SbmDbDfn.ColumnIdx column, bool defaultResponse);
//-------------------------------------------------------------------
}
//=======================================================================
}