Ejemplo n.º 1
0
 /// <summary>
 /// ���ݾ��̲�ѯ��λ��Ϣ
 /// </summary>
 /// <param name="productCode"></param>
 /// <returns></returns>
 public DataTable FindProductCodeInfo(string productCode)
 {
     using (PersistentManager dbPm = new PersistentManager())
     {
         DownProductDao dao = new DownProductDao();
         return dao.FindProductCodeInfo(productCode);
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// ��ѯ���̲�Ʒ���
 /// </summary>
 /// <returns></returns>
 public DataTable GetProductCode()
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownProductDao dao = new DownProductDao();
         return dao.GetProductCode();
     }
 }
Ejemplo n.º 3
0
 /// <summary>
 /// ���ؾ��̲�Ʒ��Ϣ��
 /// </summary>
 /// <returns></returns>
 public DataTable GetProductInfo(string codeList)
 {
     using (PersistentManager dbPm = new PersistentManager("YXConnection"))
     {
         DownProductDao dao = new DownProductDao();
         dao.SetPersistentManager(dbPm);
         return dao.GetProductInfo(codeList);
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// �����ݲ��뵽���ݿ�
 /// </summary>
 /// <param name="ds"></param>
 public void Insert(DataSet ds)
 {
     using (PersistentManager pm = new PersistentManager())
     {
         DownProductDao dao = new DownProductDao();
         dao.Insert(ds);
     }
 }