示例#1
0
 /// <summary>
 /// ��ѯ�����ع��Ŀͻ�����
 /// </summary>
 /// <returns></returns>
 public DataTable GetCustomerCode()
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownCustomerDao dao = new DownCustomerDao();
         return dao.GetCustomerCode();
     }
 }
示例#2
0
 /// <summary>
 /// ���ؿͻ���Ϣ
 /// </summary>
 /// <returns></returns>
 public DataTable GetCustomerInfo(string customerCode)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
     {
         DownCustomerDao dao = new DownCustomerDao();
         dao.SetPersistentManager(dbPm);
         return dao.GetCustomerInfo(customerCode);
     }
 }
示例#3
0
 /// <summary>
 /// �������ݵ����ݱ�
 /// </summary>
 /// <param name="customerDt"></param>
 public void Insert(DataSet customerDs)
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownCustomerDao dao = new DownCustomerDao();
         dao.Insert(customerDs);
     }
 }