Exemplo n.º 1
0
 public DataTable QueryStockProduct(string file)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.QuerySockProduct(file));
     }
 }
Exemplo 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));
     }
 }
Exemplo n.º 3
0
 public DataTable Query(string filter)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.Query(filter));
     }
 }
Exemplo 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));
     }
 }
Exemplo n.º 5
0
 public DataTable RealTimeStock()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         StockDao dao = new StockDao();
         dao.SetPersistentManager(pm);
         return(dao.RealTimeStock());
     }
 }