Esempio n. 1
0
        public void deleteAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack)
        {
            Hashtable param = new Hashtable();

            System.ComponentModel.BackgroundWorker bg = new System.ComponentModel.BackgroundWorker();
            bg.DoWork             += new System.ComponentModel.DoWorkEventHandler(this.effaceAsyncCall);
            bg.RunWorkerCompleted += callBack;
            param.Add("connexionOpenERP", connexionOpenERP);
            bg.RunWorkerAsync(param);
        }
Esempio n. 2
0
 public bool delete(connectionProperties connexionOpenERP)
 {
     return(effaceData(connexionOpenERP));
 }
Esempio n. 3
0
 public bool effaceData(connectionProperties connexionOpenERP)
 {
     Clients.clientOpenERP clientOpenERP = new Clients.clientOpenERP(connexionOpenERP);
     return(effaceData(clientOpenERP));
 }
Esempio n. 4
0
 public void saveAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack, bool prioritaire, [email protected] context)
 {
     Clients.clientOpenERP cli = new IMDEV.OpenERP.Clients.clientOpenERP(connexionOpenERP);
     saveAsync(cli, callBack, prioritaire, context);
 }
Esempio n. 5
0
 public void saveAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack)
 {
     saveAsync(connexionOpenERP, callBack, false, null);
 }
Esempio n. 6
0
 public void saveAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack, [email protected] context)
 {
     saveAsync(connexionOpenERP, callBack, false, context);
 }
Esempio n. 7
0
 public bool save(connectionProperties connexionOpenERP, [email protected] context)
 {
     Clients.clientOpenERP cli = new IMDEV.OpenERP.Clients.clientOpenERP(connexionOpenERP);
     return(sauveData(cli, context));
 }
Esempio n. 8
0
 public bool save(connectionProperties connexionOpenERP)
 {
     return(save(connexionOpenERP, null));
 }