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