/// <summary> /// �������� /// </summary> /// <param name="orgDt"></param> public void Insert(DataTable saleTable) { using (PersistentManager dbPm = new PersistentManager()) { DownSaleRegionDao dao = new DownSaleRegionDao(); dao.Insert(saleTable); } }
/// <summary> /// ���Ӫ��������Ϣ /// </summary> public void Delete() { using (PersistentManager dbPm = new PersistentManager()) { DownSaleRegionDao dao = new DownSaleRegionDao(); dao.Delete(); } }
/// <summary> /// ����Ӫ��������Ϣ /// </summary> /// <returns></returns> public DataTable GetSaleInfo() { using (PersistentManager dbPm = new PersistentManager("YXConnection")) { DownSaleRegionDao dao = new DownSaleRegionDao(); dao.SetPersistentManager(dbPm); return dao.GetSaleInfo(); } }