Exemplo n.º 1
0
 /// <summary>
 /// ����ͻ������
 /// </summary>
 public void Delete()
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownReachDao dao = new DownReachDao();
        dao.Delete();
        }
 }
Exemplo n.º 2
0
 /// <summary>
 /// ���ݱ�������ͻ�����
 /// </summary>
 /// <returns></returns>
 public DataTable GetReachInfo(string reachCode)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
        {
        DownReachDao dao = new DownReachDao();
        dao.SetPersistentManager(dbPm);
        return dao.GetReachInfo(reachCode);
        }
 }
Exemplo n.º 3
0
 /// <summary>
 /// ������ݵ����ݿ�
 /// </summary>
 /// <param name="reachDt"></param>
 public void Insert(DataTable reachDt)
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownReachDao dao = new DownReachDao();
        dao.Insert(reachDt);
        }
 }
Exemplo n.º 4
0
 /// <summary>
 /// ��ѯ�ͻ��������
 /// </summary>
 /// <returns></returns>
 public DataTable QueryReachCode()
 {
     using (PersistentManager dbPm = new PersistentManager())
        {
        DownReachDao dao = new DownReachDao();
        return dao.QueryReachCode();
        }
 }