Example #1
0
 public PersonTypeBusinessEngine(IDataRepositoryFactory data_repo_fact, ICache cache, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, null, ent_serv_fact)
 {
     _cache          = cache;
     _repo_prod_type = _data_repository_factory.GetDataRepository <IPersonTypeRepository>();
     _prod_es        = _entity_service_factory.GetEntityService <IPersonEntityService>();
 }
 public AccountEmployeeBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _entity_person_repo = _data_repository_factory.GetDataRepository <IEntityPersonRepository>();
     _person_repo        = _data_repository_factory.GetDataRepository <IPersonRepository>();
     _acct_es            = _entity_service_factory.GetEntityService <IAccountEntityService>();
     _pers_es            = _entity_service_factory.GetEntityService <IPersonEntityService>();
 }
Example #3
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>();
 }