/// <summary> /// ��ѯ�����ع��Ŀͻ����� /// </summary> /// <returns></returns> public DataTable GetCustomerCode() { using (PersistentManager dbPm = new PersistentManager()) { DownCustomerDao dao = new DownCustomerDao(); return dao.GetCustomerCode(); } }
/// <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); } }
/// <summary> /// �������ݵ����ݱ� /// </summary> /// <param name="customerDt"></param> public void Insert(DataSet customerDs) { using (PersistentManager dbPm = new PersistentManager()) { DownCustomerDao dao = new DownCustomerDao(); dao.Insert(customerDs); } }