public MetadataService(IMetadataProvider metadataProvider , IAttributeFinder attributeFinder , IDefaultAttributeProvider defaultAttributeProvider , IRelationShipFinder relationShipFinder) { _metadataProvider = metadataProvider; _attributeFinder = attributeFinder; _defaultAttributeProvider = defaultAttributeProvider; _relationShipFinder = relationShipFinder; }
public AttributeMetadataController(IWebAppContext appContext , IEntityFinder entityService , IAttributeFinder attributeService , IDefaultAttributeProvider defaultAttributeProvider , IAttributeUpdater attributeUpdater) : base(appContext) { _entityFinder = entityService; _attributeFinder = attributeService; _defaultAttributeProvider = defaultAttributeProvider; _attributeUpdater = attributeUpdater; }
public QueryViewCreater(IAppContext appContext , IQueryViewRepository queryViewRepository , IDefaultAttributeProvider defaultAttributeProvider , ILocalizedLabelBatchBuilder localizedLabelService , IQueryViewDependency dependencyService , IDefaultQueryViewProvider defaultQueryViewProvider) { _appContext = appContext; _queryViewRepository = queryViewRepository; _localizedLabelService = localizedLabelService; _defaultAttributeProvider = defaultAttributeProvider; _dependencyService = dependencyService; _defaultQueryViewProvider = defaultQueryViewProvider; _cacheService = new Caching.CacheManager <Domain.QueryView>(_appContext.OrganizationUniqueName + ":queryviews", QueryViewCache.BuildKey); }
public EntityCreater(IAppContext appContext , IEntityRepository entityRepository , ILocalizedLabelBatchBuilder localizedLabelService , ISolutionComponentService solutionComponentService , IDefaultAttributeProvider defaultAttributeProvider , IAttributeCreater attributeCreater , IEventPublisher eventPublisher ) { _appContext = appContext; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _entityRepository = entityRepository; _localizedLabelService = localizedLabelService; _solutionComponentService = solutionComponentService; _defaultAttributeProvider = defaultAttributeProvider; _attributeCreater = attributeCreater; _cacheService = new Caching.CacheManager <Domain.Entity>(_appContext.OrganizationUniqueName + ":entities", _appContext.PlatformSettings.CacheEnabled); _eventPublisher = eventPublisher; }
public AttributeCreater(IAppContext appContext , IAttributeRepository attributeRepository , IEntityFinder entityFinder , IRelationShipCreater relationShipCreater , IOptionSetCreater optionSetCreater , IStringMapCreater stringMapCreater , ILocalizedLabelBatchBuilder localizedLabelService , IMetadataService metadataService , IDefaultAttributeProvider defaultAttributeProvider , IAttributeDependency dependencyService) { _appContext = appContext; _attributeRepository = attributeRepository; _loc = _appContext.GetFeature <ILocalizedTextProvider>(); _localizedLabelService = localizedLabelService; _entityFinder = entityFinder; _relationShipCreater = relationShipCreater; _optionSetCreater = optionSetCreater; _stringMapCreater = stringMapCreater; _cacheService = new Caching.CacheManager <Domain.Attribute>(_appContext.OrganizationUniqueName + ":attributes", AttributeCache.BuildKey); _metadataService = metadataService; _defaultAttributeProvider = defaultAttributeProvider; _dependencyService = dependencyService; }
public DefaultQueryViewProvider(IAppContext appContext , IDefaultAttributeProvider defaultAttributeProvider) { _defaultAttributeProvider = defaultAttributeProvider; _appContext = appContext; }