示例#1
0
 public EntityAttributeBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact)
     : base(data_repo_fact, bus_eng_fact, ent_serv_fact)
 {
     _attribute_repo    = _data_repository_factory.GetDataRepository <IAttributeRepository>();
     _entity_type_be    = _business_engine_factory.GetBusinessEngine <IEntityTypeBusinessEngine>();
     _attribute_type_be = _business_engine_factory.GetBusinessEngine <IAttributeTypeBusinessEngine>();
     _ent_att_es        = _entity_service_factory.GetEntityService <IEntityAttributeEntityService>();
 }
 public CompanyEntityService(IAddressEntityService addressEntityService, IEntityAttributeEntityService entityAttributeEntityService)
 {
     _addressEntityService         = addressEntityService;
     _entityAttributeEntityService = entityAttributeEntityService;
 }