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>(); }
public InvoiceBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact) : base(data_repo_fact, bus_eng_fact, ent_serv_fact) { _invoice_repo = _data_repository_factory.GetDataRepository <IInvoiceRepository>(); _invoice_item_repo = _data_repository_factory.GetDataRepository <IInvoiceItemRepository>(); _comment_be = _business_engine_factory.GetBusinessEngine <ICommentBusinessEngine>(); _employee_be = _business_engine_factory.GetBusinessEngine <IEmployeeBusinessEngine>(); _address_be = _business_engine_factory.GetBusinessEngine <IAddressBusinessEngine>(); _product_be = _business_engine_factory.GetBusinessEngine <IProductBusinessEngine>(); _account_be = _business_engine_factory.GetBusinessEngine <IAccountBusinessEngine>(); _invoice_se = _entity_service_factory.GetEntityService <IInvoiceEntityService>(); _invoice_item_se = _entity_service_factory.GetEntityService <IInvoiceItemEntityService>(); }
public OrderBusinessEngine(IDataRepositoryFactory data_repo_fact, IBusinessEngineFactory bus_eng_fact, IEntityServiceFactory ent_serv_fact) : base(data_repo_fact, bus_eng_fact, ent_serv_fact) { _order_header_repo = _data_repository_factory.GetDataRepository <IOrderHeaderRepository>(); _order_item_repo = _data_repository_factory.GetDataRepository <IOrderItemRepository>(); _comment_be = _business_engine_factory.GetBusinessEngine <ICommentBusinessEngine>(); _employee_be = _business_engine_factory.GetBusinessEngine <IEmployeeBusinessEngine>(); _address_be = _business_engine_factory.GetBusinessEngine <IAddressBusinessEngine>(); _product_be = _business_engine_factory.GetBusinessEngine <IProductBusinessEngine>(); _account_be = _business_engine_factory.GetBusinessEngine <IAccountBusinessEngine>(); _order_status_be = _business_engine_factory.GetBusinessEngine <IOrderStatusBusinessEngine>(); _order_item_status_be = _business_engine_factory.GetBusinessEngine <IOrderItemStatusBusinessEngine>(); _order_se = _entity_service_factory.GetEntityService <IOrderEntityService>(); _order_item_se = _entity_service_factory.GetEntityService <IOrderItemEntityService>(); }