Esempio n. 1
0
 public DataTable QueryStockProduct(string file)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.QuerySockProduct(file));
     }
 }
Esempio n. 2
0
 public DataSet QueryDetail(int pageIndex, int pageSize, string billNo)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.QueryDetail(pageIndex, pageSize, billNo));
     }
 }
Esempio n. 3
0
 public DataTable Query(string filter)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.Query(filter));
     }
 }
Esempio n. 4
0
 public DataSet QueryMaster(int pageIndex, int pageSize)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.QueryMaster(pageIndex, pageSize));
     }
 }
Esempio n. 5
0
 public DataTable RealTimeStock()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.RealTimeStock());
     }
 }