public frmQuery() { InitializeComponent(); _productService = new ProductService(); _vipService = new VipCardService(); _vipProductService = new VipProductService(); }
public frmPos() { InitializeComponent(); _saleOrderService = new SaleOrderService(); _productService = new ProductService(); _vipService = new VipCardService(); _vipProductService = new VipProductService(); _workScheduleService = new WorkScheduleService(); // 添加班次信息 _currentWork = _workScheduleService.GetWorking(ContextService.StoreId, ContextService.PosId); }
public VipProductFacade(IDBContext dbContext) { _db = dbContext; _vipProductService = new VipProductService(this._db); }