Exemple #1
0
        public LocationDataManager(InventoryContext context, IUserService userService) : base(context, userService)
        {
            this._context     = context;
            this._userService = userService;

            this._warehouseProvider   = new WarehouseProvider(this._context, this._userService);
            this._warehouseOperations = new WarehouseOperations(this._context, this._userService);;
            this._consumerOperations  = new ConsumerOperations(this._context, this._userService);
            this._consumerProvider    = new ConsumerProvider(this._context, this._userService);
        }
Exemple #2
0
        public UserManager(InventoryContext context, IDomainManager domainManager, IUserService userService) : base(context, userService)
        {
            this._context       = context;
            this._userService   = userService;
            this._domainmanager = domainManager;

            this._inventoryUserProvider   = new InventoryUserProvider(this._context, this._domainmanager, this._userService);
            this._domainUserProvider      = new DomainUserProvider(this._context, this._domainmanager, this._userService);
            this._inventoryUserOperations = new InventoryUserDataOperations(this._context, this._domainmanager, this._userService);
            this._domainUserOperations    = new DomainUserDataOperations(this._context, this._domainmanager, this._userService);
        }
        public ProductDataManager(InventoryContext context, IUserService userService)
            : base(context, userService)
        {
            this._productDataOperations = new ProductDataOperations(this._context, this._userService);
            this._productDataProvider   = new ProductDataProvider(this._context, this._userService);

            this._productInstanceOperations = new ProductInstanceOperations(this._context, this._userService);
            this._productInstanceProvider   = new ProductInstanceProvider(this._context, this._userService);

            this._lotOperations = new LotOperations(this._context, this._userService);
            this._lotProvider   = new LotProvider(this._context, this._userService);

            this._reservationProvider   = new ReservationProvider(this._context, this._userService);
            this._reservationOperations = new ReservationOperations(this._context, this._userService);

            this._categoryProvider = new ProductTypeProvider(this._context, this._userService);

            this._consumerProvider  = new ConsumerProvider(this._context, this._userService);
            this._warehouseProvider = new WarehouseProvider(this._context, this._userService);

            this._productTransactionProvider = new ProductTransactionProvider(this._context, this._userService);

            this._attachmentProvider = new AttachmentProvider(this._context, this._userService);
        }
 public CategoryDataManager(InventoryContext context, IUserService userService)
     : base(context, userService)
 {
     this._productTypeProvider   = new ProductTypeProvider(context, userService);
     this._productTypeOperations = new ProductTypeOperations(context, userService);
 }
 public PartInstanceManager(InventoryContext context, IUserService userService)
     : base(context, userService)
 {
     this._productInstanceOperations = new ProductInstanceOperations(this._context, this._userService);
     this._productInstanceProvider   = new ProductInstanceProvider(this._context, this._userService);
 }