Ejemplo n.º 1
0
 public DataTable GetDistStationCode()
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownDistCarBillDao dao = new DownDistCarBillDao();
        return dao.GetDistStationCode();
        }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 删除配车单
 /// </summary>
 public void Delete()
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownDistCarBillDao dao = new DownDistCarBillDao();
        dao.Delete();
        }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// 下载配车单
 /// </summary>
 /// <returns></returns>
 public DataTable GetDistCarInfo(string distCarCode)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
        {
        DownDistCarBillDao dao = new DownDistCarBillDao();
        dao.SetPersistentManager(dbPm);
        return dao.GetDistCarBillInfo(distCarCode);
        }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 保存到数据库
 /// </summary>
 /// <param name="distTable"></param>
 public void Insert(DataSet distTable)
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownDistCarBillDao dao = new DownDistCarBillDao();
        dao.Insert(distTable);
        }
 }