示例#1
0
 public PurechasesOperationsRepo(EntitiesDbContext context, ISafeOperationsRepo safeOperationsRepo, ISalesinvoicesOperationsRepo salesinvoicesOperationsRepo)
 {
     this._context                = context;
     _purechasesHeaderEntity      = context.Set <PurechasesHeader>();
     _safeOperationsRepo          = safeOperationsRepo;
     _salesinvoicesOperationsRepo = salesinvoicesOperationsRepo;
 }
 public OrderOperationsDSL(IOrderHeaderOperationsRepo orderHeaderOperationsRepo, IOrderDetailsOperationsRepo orderDetailsOperationsRepo, IPurechasesOperationsRepo purechasesOperationsRepo, ISalesinvoicesOperationsRepo salesinvoicesOperationsRepo, IOrder_PurechaseOperationsRepo order_PurechaseOperationsRepo, ISafeOperationsRepo safeOperationsRepo, IServiceProvider serviceProvider, IConfiguration configuration)
 {
     _orderHeaderOperationsRepo     = orderHeaderOperationsRepo;
     _orderDetailsOperationsRepo    = orderDetailsOperationsRepo;
     _purechasesOperationsRepo      = purechasesOperationsRepo;
     _salesinvoicesOperationsRepo   = salesinvoicesOperationsRepo;
     _order_PurechaseOperationsRepo = order_PurechaseOperationsRepo;
     _safeOperationsRepo            = safeOperationsRepo;
     _serviceProvider = serviceProvider;
     _configuration   = configuration;
 }
 public SafesController(ISafeOperationsRepo safeOperationsRepo)
 {
     this._safeOperationsRepo = safeOperationsRepo;
 }
 public FarmerAccountStatementController(ISafeOperationsRepo safeOperationsRepo)
 {
     _safeOperationsRepo = safeOperationsRepo;
 }
示例#5
0
 public FarmerOperationsRepo(EntitiesDbContext context, ISafeOperationsRepo safeOperationsRepo)
 {
     _context            = context;
     _farmerEntity       = context.Set <Farmer>();
     _safeOperationsRepo = safeOperationsRepo;
 }
示例#6
0
 public OrderHeaderRepository(EntitiesDbContext context, ISafeOperationsRepo safeOperationsRepo)
 {
     _context            = context;
     _sellerEntity       = context.Set <Seller>();
     _safeOperationsRepo = safeOperationsRepo;
 }