public S35MenuSanXuatLogic(BSContext context) { this.Context = context; this.S35MenuSanXuatDAO = new S35MenuSanXuatDAO(this.Context); //Detail của hóa đơn bán ra this.S35MenuDetailSanXuatDAO = new S35MenuDetailSanXuatDAO(this.Context); }
public ReportLogic(BSContext context) : base(context) { this.ReportDAO = new ReportDAO(this.Context); this.ItemsDAO = new ItemsDAO(this.Context); this.WareHouseListDAO = new WareHouseListDAO(this.Context); this.BalanceLogic = new BalanceLogic(this.Context); }
public InvoiceS35Logic(BSContext context) { this.Context = context; this.InvoiceS35DAO = new InvoiceS35DAO(this.Context); //Detail của hóa đơn bán ra this.InvoiceS35DetailDAO = new InvoiceS35DetailDAO(this.Context); }
public S35MenuFinalLogic(BSContext context) { this.Context = context; this.S35MenuFinalDAO = new S35MenuFinalDAO(this.Context); this.S35MenuFinalExDAO = new S35MenuFinalExDAO(this.Context); this.S35MenuFinalWHDAO = new S35MenuFinalWHDAO(this.Context); }
public WareHouseLogic(BSContext context) { this.Context = context; this.WareHouseDAO = new WareHouseDAO(this.Context); this.WareHouseDetailDAO = new WareHouseDetailDAO(this.Context); this.DUTOANCONGTRINHDAO = new DUTOANCONGTRINHDAO(this.Context); }
public S35MenuDetailSanXuatFinalLogic(BSContext context) { this.Context = context; this.ItemDetailS35MenuSXDAO = new ItemDetailS35MenuSXDAO(this.Context); this.S35MenuDetailSanXuatFinalDAO = new S35MenuDetailSanXuatFinalDAO(this.Context); this.S35MenuSanXuatWHDAO = new S35MenuSanXuatWHDAO(this.Context); this.S35MenuSXConnectDTDAO = new S35MenuSXConnectDTDAO(this.Context); this.ThanhPhamKeyDAO = new ThanhPhamKeyDAO(this.Context); }
public ItemsLogic(BSContext context) : base(context) { this.Context = context; this.ItemsDAO = new ItemsDAO(this.Context); this.ItemUnitDAO = new ItemUnitDAO(this.Context); this.ItemTypeDAO = new ItemTypeDAO(this.Context); this.ItemDetailDAO = new ItemDetailDAO(this.Context); this.ItemConvertDAO = new ItemConvertDAO(this.Context); }
public long GetMaxSEQ(string type) { //@DateClient return(this.Context.ExecuteScalar( "SP_GetMaxSEQ", new SqlParameter("@Type", type), new SqlParameter("@UserID", UserInfo.UserID), new SqlParameter("@CompanyID", CommonInfo.CompanyInfo.CompanyID), new SqlParameter("@Macaddress", BSContext.GetMacAddress().ToString()), new SqlParameter("@DateClient", DateTime.Now.Date) )); }
public ADALTokenCache(string signedInUserId, IBSContextContextManager contextManager) { _context = contextManager.GetContext(); // associate the cache to the current user of the web app userId = signedInUserId; this.AfterAccess = AfterAccessNotification; this.BeforeAccess = BeforeAccessNotification; this.BeforeWrite = BeforeWriteNotification; // look up the entry in the database Cache = _context.UserTokenCacheList.FirstOrDefault(c => c.webUserUniqueId == userId); // place the entry in memory this.Deserialize((Cache == null) ? null : MachineKey.Unprotect(Cache.cacheBits, "ADALCache")); }
public UnitOfWork(BSContext db) { _db = db; Category = new CategoryRepository(_db); CoverType = new CoverTypeRepository(_db); Product = new ProductRepository(_db); Company = new CompanyRepository(_db); ApplicationUser = new ApplicationUserRepository(_db); ShoppingCart = new ShoppingCartRepository(_db); OrderDetails = new OrderDetailsRepository(_db); OrderHeader = new OrderHeaderRepository(_db); SP_Call = new SP_Call(_db); }
public Repository(BSContext db) { _db = db; this.dbSet = _db.Set <T>(); //Phuong thuc Set dang ky 1 Dbset kieu T cho _db de thao tac }
public InvoiceS35DetailDAO(BSContext context) : base(context) { }
public BSGCURRENTVERSIONDAO(BSContext context) : base(context) { }
public DUTOANCONGTRINHDAO(BSContext context) : base(context) { }
public ProductRepository(BSContext db) : base(db) { _db = db; }
public DMQLConnectQLDAO(BSContext context) : base(context) { }
public DMQLConnectQLLogic(BSContext context) { this.Context = context; this.DMQLConnectQLDAO = new DMQLConnectQLDAO(this.Context); }
public CompanyDAO(BSContext context) : base(context) { }
public OrderDetailsRepository(BSContext db) : base(db) { _db = db; }
public VoucherDetailDAO(BSContext context) : base(context) { }
public NoteInfoLogic(BSContext context) : base(context) { this.NoteInfoDAO = new NoteInfoDAO(this.Context); this.NoteInfoDetailDAO = new NoteInfoDetailDAO(this.Context); }
public CoverTypeRepository(BSContext db) : base(db) { _db = db; }
public S35MenuSXConnectDTDAO(BSContext context) : base(context) { }
public S35MenuSelectedLogic(BSContext context) { this.Context = context; this.S35MenuSelectedDAO = new S35MenuSelectedDAO(this.Context); }
public CustomerDAO(BSContext context) : base(context) { }
public KichBanKetChuyentableDAO(BSContext context) : base(context) { }
public ItemsDAO(BSContext context) : base(context) { }
public VoucherCoverLogic(BSContext context) : base(context) { this.VoucherCoverDAO = new VoucherCoverDAO(this.Context); this.VoucherCoverDetailDAO = new VoucherCoverDetailDAO(this.Context); }
public WareHouseListLogic(BSContext context) { this.Context = context; this.WareHouseListDAO = new WareHouseListDAO(this.Context); }
public WareHouseListDAO(BSContext context) : base(context) { }