public ProductTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache cache, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, null, ent_serv_fact)
 {
     _cache            = cache;
     _report_prod_type = _data_repository_factory.GetDataRepository <IProductTypeRepository>();
     _prod_es          = _entity_service_factory.GetEntityService <IProductTypeEntityService>();
     GetTypes();
 }
コード例 #2
0
 public ListManager(IListRepository listRepository, IAddressTypeEntityService addressTypeEntityService,
                    IAttributeTypeEntityService attributeTypeEntityService, IEmployeeTypeEntityService employeeTypeEntityService,
                    IEntityTypeEntityService entityTypeEntityService, IProductTypeEntityService productTypeEntityService)
 {
     _listRepository             = listRepository;
     _addressTypeEntityService   = addressTypeEntityService;
     _attributeTypeEntityService = attributeTypeEntityService;
     _employeeTypeEntityService  = employeeTypeEntityService;
     _entityTypeEntityService    = entityTypeEntityService;
     _productTypeEntityService   = productTypeEntityService;
 }