コード例 #1
0
 /// <summary>
 /// ��������
 /// </summary>
 /// <param name="orgDt"></param>
 public void Insert(DataTable saleTable)
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownSaleRegionDao dao = new DownSaleRegionDao();
         dao.Insert(saleTable);
     }
 }
コード例 #2
0
 /// <summary>
 /// ���Ӫ��������Ϣ
 /// </summary>
 public void Delete()
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownSaleRegionDao dao = new DownSaleRegionDao();
         dao.Delete();
     }
 }
コード例 #3
0
 /// <summary>
 /// ����Ӫ��������Ϣ
 /// </summary>
 /// <returns></returns>
 public DataTable GetSaleInfo()
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
     {
         DownSaleRegionDao dao = new DownSaleRegionDao();
         dao.SetPersistentManager(dbPm);
         return dao.GetSaleInfo();
     }
 }