示例#1
0
 public RepairOrderRepository(RepairOrderProjectRepository repairOrderProjectRepository,
                              RepairOrderProductRepository repairOrderProductRepository,
                              CustomerRepository customerRepository,
                              EmployeeRepository employeeRepository,
                              ProductStockRecordRepository productStockRecordRepository)
 {
     this.RepairOrderProjectRepository = repairOrderProjectRepository;
     this.RepairOrderProductRepository = repairOrderProductRepository;
     this.CustomerRepository           = customerRepository;
     this.EmployeeRepository           = employeeRepository;
     this.ProductStockRecordRepository = productStockRecordRepository;
 }
 public PurchaseOrderRepository(
     PurchaseOrderProductRepository purchaseOrderProductRepository,
     EmployeeRepository employeeRepository,
     SupplierRepository supplierRepository,
     ProductStockRecordRepository productStockRecordRepository,
     ProductRepository productRepository)
 {
     this.PurchaseOrderProductRepository = purchaseOrderProductRepository;
     this.EmployeeRepository             = employeeRepository;
     this.SupplierRepository             = supplierRepository;
     this.ProductStockRecordRepository   = productStockRecordRepository;
     this.ProductRepository = productRepository;
 }