コード例 #1
0
ファイル: delegateController.cs プロジェクト: gofixiao/dlerp
 public delegateController(IManageRepository _manageRepository, IBomRepository _bomrepository, IPurchaseRepository _bomRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository)
 {
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     stockinService = new StockInService(_stockinrepository);
     purchaseService = new PurchaseService(_bomRepository);
 }
コード例 #2
0
ファイル: mainController.cs プロジェクト: gofixiao/dlerp
 public mainController(IAccountRepository _accountRepository, IManageRepository _manageRepository, IPurchaseRepository _purchaseRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IBomRepository _bomrepository)
 {
     accountService = new AccountService(_accountRepository);
     purchaseService = new PurchaseService(_purchaseRepository);
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     manageService = new ManageService(_manageRepository);
     bomService = new BomService(_bomrepository);
 }
コード例 #3
0
 public StockOutService(
     IUnitOfWork unitOfWork,
     IRepository <WAMS_ASSIGNNING_STOCKS> repository,
     IStockOutRepository customRepository)
 {
     _unitOfWork       = unitOfWork;
     _repository       = repository;
     _customRepository = customRepository;
 }
コード例 #4
0
ファイル: StockOutService.cs プロジェクト: xuantranm/V3System
 public StockOutService(
     IUnitOfWork unitOfWork,
     IRepository<WAMS_ASSIGNNING_STOCKS> repository,
     IStockOutRepository customRepository)
 {
     _unitOfWork = unitOfWork;
     _repository = repository;
     _customRepository = customRepository;
 }
コード例 #5
0
ファイル: stockoutController.cs プロジェクト: gofixiao/dlerp
 public stockoutController(IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IPurchaseRepository _purchaseRepository)
 {
     stockinService = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     purchaseService = new PurchaseService(_purchaseRepository);
 }
コード例 #6
0
 public delegateController(IManageRepository _manageRepository, IBomRepository _bomrepository, IPurchaseRepository _bomRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository)
 {
     manageService   = new ManageService(_manageRepository);
     bomService      = new BomService(_bomrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     stockinService  = new StockInService(_stockinrepository);
     purchaseService = new PurchaseService(_bomRepository);
 }
コード例 #7
0
 public RepositoryWrapper(
     FactoryManagementContext dbContext,
     IAddressRepository Address,
     ICustomerRepository Customer,
     IDepartmentRepository Department,
     IEquipmentRepository Equipment,
     IEquipmentCategoryRepository EquipmentCategory,
     IExpenseRepository Expense,
     IExpenseTypeRepository ExpenseType,
     IFactoryRepository Factory,
     IIncomeRepository Income,
     IIncomeTypeRepository IncomeType,
     IInvoiceRepository Invoice,
     IInvoiceTypeRepository InvoiceType,
     IItemRepository Item,
     IItemCategoryRepository ItemCategory,
     IItemStatusRepository ItemStatus,
     IPayableRepository Payable,
     IPaymentStatusRepository PaymentStatus,
     IPhoneRepository Phone,
     IProductionRepository Production,
     IPurchaseRepository Purchase,
     IPurchaseTypeRepository PurchaseType,
     IRecievableRepository Recievable,
     IRoleRepository Role,
     ISalesRepository Sales,
     IStaffRepository Staff,
     IStockRepository Stock,
     IStockInRepository StockIn,
     IStockOutRepository StockOut,
     ISupplierRepository Supplier,
     ITransactionRepository Transaction,
     ITransactionTypeRepository TransactionType,
     IUserAuthInfoRepository UserAuthInfo,
     IUserRoleRepository UserRole,
     IUtilService util,
     IApiResourceMappingRepository ApiResourceMappingRepository)
 {
     this.dbContext          = dbContext;
     this._Address           = Address;
     this._Customer          = Customer;
     this._Department        = Department;
     this._Equipment         = Equipment;
     this._EquipmentCategory = EquipmentCategory;
     this._Expense           = Expense;
     this._ExpenseType       = ExpenseType;
     this._Income            = Income;
     this._IncomeType        = IncomeType;
     this._Invoice           = Invoice;
     this._InvoiceType       = InvoiceType;
     this._Item            = Item;
     this._ItemCategory    = ItemCategory;
     this._ItemStatus      = ItemStatus;
     this._Payable         = Payable;
     this._PaymentStatus   = PaymentStatus;
     this._Phone           = Phone;
     this._Production      = Production;
     this._Purchase        = Purchase;
     this._PurchaseType    = PurchaseType;
     this._Recievable      = Recievable;
     this._Role            = Role;
     this._Sales           = Sales;
     this._Staff           = Staff;
     this._Stock           = Stock;
     this._StockIn         = StockIn;
     this._StockOut        = StockOut;
     this._Supplier        = Supplier;
     this._Transaction     = Transaction;
     this._TransactionType = TransactionType;
     this._UserAuthInfo    = UserAuthInfo;
     this._UserRole        = UserRole;
     this._util            = util;
     this._ApiResourceMappingRepository = ApiResourceMappingRepository;
 }
コード例 #8
0
ファイル: StockOutService.cs プロジェクト: gofixiao/dlerp
 public StockOutService(IStockOutRepository stockoutRepository)
 {
     _stockoutRepository = stockoutRepository;
 }
コード例 #9
0
ファイル: StockOutService.cs プロジェクト: mkbiltek2019/dlerp
 public StockOutService(IStockOutRepository stockoutRepository)
 {
     _stockoutRepository = stockoutRepository;
 }
コード例 #10
0
ファイル: mainController.cs プロジェクト: mkbiltek2019/dlerp
 public mainController(IAccountRepository _accountRepository, IManageRepository _manageRepository, IPurchaseRepository _purchaseRepository, IStockInRepository _stockinrepository, IStockOutRepository _stockoutrepository, IBomRepository _bomrepository)
 {
     accountService  = new AccountService(_accountRepository);
     purchaseService = new PurchaseService(_purchaseRepository);
     stockinService  = new StockInService(_stockinrepository);
     stockoutService = new StockOutService(_stockoutrepository);
     manageService   = new ManageService(_manageRepository);
     bomService      = new BomService(_bomrepository);
 }
コード例 #11
0
 public StockOutService(IStockOutRepository StockOutRepository)
     : base(StockOutRepository)
 {
 }