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