using DocumentFormat.OpenXml.Drawing.Diagrams; using Sarand.BusinessMgr.Net.Standard.Base.App; using Sarand.BusinessMgr.Net.Standard.Base.Bus.Control; using Sarand.BusinessMgr.Net.Standard.Base.Mgr.Control; using Sarand.Net.Standard.Base.App; using Sarand.Net.Standard.Base.Bus; using Sarand.Net.Standard.Base.Core; using Sarand.Net.Standard.Base.Utils; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; namespace Sarand.BusinessMgr.Net.Core.Web.App { //======================================================================= /// /// Facade Instance configuration for core databases without Control configuration. /// public class SbmInstanceConfig_Core : SbmInstanceConfig { //------------------------------------------------------------------- // Definitions. //------------------------------------------------------------------- // Data members. //------------------------------------------------------------------- // Construction. public SbmInstanceConfig_Core(SbmSessionContext_Web sessionContext) { this.SessionContext = sessionContext; } //------------------------------------------------------------------- // Properties. private SbmSessionContext_Web SessionContext { get; } //------------------------------------------------------------------- // Allowed data component types. //------------------------------------------------------------------- // Supported affiliate types. public override bool AllowAffiliateType(Sbm.AffiliateType affiliateType, bool defaultResponse) { return defaultResponse; } // Supported affiliate types. public override bool AllowAssociationType(Sbm.AssociationType affiliateType, bool defaultResponse) { return defaultResponse; } // Supported affiliate types. public override bool AllowTransactionType(Sbm.TransactionType affiliateType, bool defaultResponse) { return defaultResponse; } //------------------------------------------------------------------- // Supported application options. public override bool AllowApplicationOption(Sbm.ConfigOption option, bool defaultResponse) { return defaultResponse; } //------------------------------------------------------------------- } //======================================================================= }