示例#1
0
 public ProductBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _product_repo = _data_repository_factory.GetDataRepository <IProductRepository>();
     _attrib_be    = _business_engine_factory.GetBusinessEngine <IEntityAttributeBusinessEngine>();
     _prod_type_be = _business_engine_factory.GetBusinessEngine <IProductTypeBusinessEngine>();
     _prod_es      = _entity_service_factory.GetEntityService <IProductEntityService>();
 }
示例#2
0
 public EmployeeBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _pers_es            = _entity_service_factory.GetEntityService <IPersonEntityService>();
     _entity_person_repo = _data_repository_factory.GetDataRepository <IEntityPersonRepository>();
     _person_repo        = _data_repository_factory.GetDataRepository <IPersonRepository>();
     _entity_attrib_be   = _business_engine_factory.GetBusinessEngine <IEntityAttributeBusinessEngine>();
     _address_be         = _business_engine_factory.GetBusinessEngine <IAddressBusinessEngine>();
     _company_be         = _business_engine_factory.GetBusinessEngine <ICompanyBusinessEngine>();
 }
示例#3
0
 public AccountBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _acct_repo           = _data_repository_factory.GetDataRepository <IAccountRepository>();
     _acct_es             = _entity_service_factory.GetEntityService <IAccountEntityService>();
     _account_type_be     = _business_engine_factory.GetBusinessEngine <IAccountTypeBusinessEngine>();
     _address_be          = _business_engine_factory.GetBusinessEngine <IAddressBusinessEngine>();
     _entity_attribute_be = _business_engine_factory.GetBusinessEngine <IEntityAttributeBusinessEngine>();
     _fee_schedule_be     = _business_engine_factory.GetBusinessEngine <IFeeScheduleBusinessEngine>();
     _account_employee_be = _business_engine_factory.GetBusinessEngine <IAccountEmployeeBusinessEngine>();
     _contact_be          = _business_engine_factory.GetBusinessEngine <IContactBusinessEngine>();
     _comment_be          = _business_engine_factory.GetBusinessEngine <ICommentBusinessEngine>();
 }