public CustomerService(CustomerSettings customerSettings,
                        ICacheKeyService cacheKeyService,
                        IBopDataProvider dataProvider,
                        IEventPublisher eventPublisher,
                        IGenericAttributeService genericAttributeService,
                        IRepository <Customer> customerRepository,
                        IRepository <CustomerCustomerRoleMapping> customerCustomerRoleMappingRepository,
                        IRepository <CustomerPassword> customerPasswordRepository,
                        IRepository <CustomerRole> customerRoleRepository,
                        IRepository <GenericAttribute> gaRepository,
                        IStaticCacheManager staticCacheManager,
                        IHostedSiteContext hostedSiteContext)
 {
     _customerSettings        = customerSettings;
     _cacheKeyService         = cacheKeyService;
     _dataProvider            = dataProvider;
     _eventPublisher          = eventPublisher;
     _genericAttributeService = genericAttributeService;
     _customerRepository      = customerRepository;
     _customerCustomerRoleMappingRepository = customerCustomerRoleMappingRepository;
     _customerPasswordRepository            = customerPasswordRepository;
     _customerRoleRepository = customerRoleRepository;
     _gaRepository           = gaRepository;
     _staticCacheManager     = staticCacheManager;
     _hostedSiteContext      = hostedSiteContext;
 }
 public CodeFirstInstallationService(IRepository <Customer> customerRepository,
                                     IRepository <CustomerRole> customerRoleRepository,
                                     IRepository <Language> languageRepository,
                                     IRepository <ScheduleTask> scheduleTaskRepository,
                                     IRepository <HostedSite> hostedSiteRepository,
                                     IPermissionService permissionService,
                                     IBopDataProvider dataProvider,
                                     ILocalizationService localizationService)
 {
     _customerRepository     = customerRepository;
     _customerRoleRepository = customerRoleRepository;
     _languageRepository     = languageRepository;
     _scheduleTaskRepository = scheduleTaskRepository;
     _permissionService      = permissionService;
     _hostedSiteRepository   = hostedSiteRepository;
     _dataProvider           = dataProvider;
     _localizationService    = localizationService;
 }
 public BopConventionSet(IBopDataProvider dataProvider, IMigrationContext context)
     : this(new DefaultConventionSet(), new BopForeignKeyConvention(dataProvider, context), new BopIndexConvention(dataProvider))
 {
 }
 public BopForeignKeyConvention(IBopDataProvider dataProvider, IMigrationContext context)
 {
     _dataProvider = dataProvider;
     _context      = context;
 }
 public BopIndexConvention(IBopDataProvider dataProvider)
 {
     _dataProvider = dataProvider;
 }
Beispiel #6
0
 public EntityRepository(IBopDataProvider dataProvider)
 {
     _dataProvider = dataProvider;
 }