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