Exemplo n.º 1
0
 public RelationShipImporter(IRelationShipCreater relationShipCreater
                             , IRelationShipUpdater relationShipUpdater
                             , IRelationShipFinder relationShipFinder)
 {
     _relationShipCreater = relationShipCreater;
     _relationShipUpdater = relationShipUpdater;
     _relationShipFinder  = relationShipFinder;
 }
Exemplo n.º 2
0
 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;
 }