Esempio n. 1
0
 //���ⵥ��ϸ��
 public void InsertOutDetailBill(DataSet busiStock)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertOutDetailBill(busiStock);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// �ϱ��ͻ���Ϣ����
 /// </summary>
 /// <param name="costomerSet"></param>
 public void InsertCustom(DataSet costomerSet)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertCustom(costomerSet);
     }
 }
Esempio n. 3
0
 /// <summary>
 /// �ϱ�������Ϣ����
 /// </summary>
 /// <param name="brandSet"></param>
 public void InsertProduct(DataSet brandSet)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertProduct(brandSet);
     }
 }
Esempio n. 4
0
 // �ּ𶩵��ϱ�(����ϸ��)
 public void uploadSort(DataSet masterds, DataSet detailds)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         if (masterds.Tables["DWV_OUT_ORDER"].Rows.Count > 0)
         {
             dao.UploadIordOrder(masterds);
         }
         if (detailds.Tables["DWV_OUT_ORDER_DETAIL"].Rows.Count > 0)
         {
             dao.UploadIordOrderDetail(detailds);
         }
     }
 }
Esempio n. 5
0
 /// <summary>
 /// ��֯������
 /// </summary>
 /// <param name="companySet"></param>
 public void UploadOrganization(DataSet companySet)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertCompany(companySet);
     }
 }
Esempio n. 6
0
 //��Ա��Ϣ��
 public void UploadEmployee(DataSet employee)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertEmployee(employee);
     }
 }
Esempio n. 7
0
 //�ֿ����
 public void QueryStoreStock(DataSet storeStock)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertStoreStock(storeStock);
     }
 }
Esempio n. 8
0
 //ͬ��״̬��
 public void InsertSynchro()
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertSynchro();
     }
 }
Esempio n. 9
0
 //�ִ����Ա�
 public void UploadCell(DataSet cell)
 {
     using (PersistentManager pm = new PersistentManager("ZYDB2Connection"))
     {
         UploadDao dao = new UploadDao();
         dao.SetPersistentManager(pm);
         dao.InsertCell(cell);
     }
 }