示例#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);
        }
示例#2
0
 public bool delete(connectionProperties connexionOpenERP)
 {
     return(effaceData(connexionOpenERP));
 }
示例#3
0
 public bool effaceData(connectionProperties connexionOpenERP)
 {
     Clients.clientOpenERP clientOpenERP = new Clients.clientOpenERP(connexionOpenERP);
     return(effaceData(clientOpenERP));
 }
示例#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);
 }
示例#5
0
 public void saveAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack)
 {
     saveAsync(connexionOpenERP, callBack, false, null);
 }
示例#6
0
 public void saveAsync(connectionProperties connexionOpenERP, System.ComponentModel.RunWorkerCompletedEventHandler callBack, [email protected] context)
 {
     saveAsync(connexionOpenERP, callBack, false, context);
 }
示例#7
0
 public bool save(connectionProperties connexionOpenERP, [email protected] context)
 {
     Clients.clientOpenERP cli = new IMDEV.OpenERP.Clients.clientOpenERP(connexionOpenERP);
     return(sauveData(cli, context));
 }
示例#8
0
 public bool save(connectionProperties connexionOpenERP)
 {
     return(save(connexionOpenERP, null));
 }