Beispiel #1
0
 /// <summary>
 /// 删除7天之前的线路表,分拣中间表和分拣表(包含细表),作业调度表
 /// </summary>
 public void DeleteTable()
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownRouteDao dao = new DownRouteDao();
         dao.DeleteTable();
     }
 }
Beispiel #2
0
 /// <summary>
 /// 删除7天之前的线路表,分拣中间表和分拣表(包含细表),作业调度表
 /// </summary>
 public void DeleteTable()
 {
     try
     {
         using (PersistentManager dbPm = new PersistentManager())
         {
             DownRouteDao dao = new DownRouteDao();
             dao.DeleteTable();
         }
     }
     catch (Exception e)
     {
         throw new Exception("删除数据失败!原因:" + e.Message);
     }
 }