Beispiel #1
0
 private object[] OnEndGetSupplier(System.IAsyncResult result)
 {
     SlvHanbaiClient.svcSupplier.EntitySupplier retVal = ((SlvHanbaiClient.svcSupplier.svcSupplier)(this)).EndGetSupplier(result);
     return(new object[] {
         retVal
     });
 }
Beispiel #2
0
        private System.IAsyncResult OnBeginUpdateSupplier(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string random     = ((string)(inValues[0]));
            int    type       = ((int)(inValues[1]));
            string CustomerId = ((string)(inValues[2]));
            string Id         = ((string)(inValues[3]));

            SlvHanbaiClient.svcSupplier.EntitySupplier entity = ((SlvHanbaiClient.svcSupplier.EntitySupplier)(inValues[4]));
            return(((SlvHanbaiClient.svcSupplier.svcSupplier)(this)).BeginUpdateSupplier(random, type, CustomerId, Id, entity, callback, asyncState));
        }
Beispiel #3
0
 public System.IAsyncResult BeginUpdateSupplier(string random, int type, string CustomerId, string Id, SlvHanbaiClient.svcSupplier.EntitySupplier entity, System.AsyncCallback callback, object asyncState)
 {
     object[] _args = new object[5];
     _args[0] = random;
     _args[1] = type;
     _args[2] = CustomerId;
     _args[3] = Id;
     _args[4] = entity;
     System.IAsyncResult _result = base.BeginInvoke("UpdateSupplier", _args, callback, asyncState);
     return(_result);
 }
Beispiel #4
0
 public SlvHanbaiClient.svcSupplier.EntitySupplier EndGetSupplier(System.IAsyncResult result)
 {
     object[] _args = new object[0];
     SlvHanbaiClient.svcSupplier.EntitySupplier _result = ((SlvHanbaiClient.svcSupplier.EntitySupplier)(base.EndInvoke("GetSupplier", _args, result)));
     return(_result);
 }
Beispiel #5
0
 public void UpdateSupplierAsync(string random, int type, string CustomerId, string Id, SlvHanbaiClient.svcSupplier.EntitySupplier entity, object userState)
 {
     if ((this.onBeginUpdateSupplierDelegate == null))
     {
         this.onBeginUpdateSupplierDelegate = new BeginOperationDelegate(this.OnBeginUpdateSupplier);
     }
     if ((this.onEndUpdateSupplierDelegate == null))
     {
         this.onEndUpdateSupplierDelegate = new EndOperationDelegate(this.OnEndUpdateSupplier);
     }
     if ((this.onUpdateSupplierCompletedDelegate == null))
     {
         this.onUpdateSupplierCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnUpdateSupplierCompleted);
     }
     base.InvokeAsync(this.onBeginUpdateSupplierDelegate, new object[] {
         random,
         type,
         CustomerId,
         Id,
         entity
     }, this.onEndUpdateSupplierDelegate, this.onUpdateSupplierCompletedDelegate, userState);
 }
Beispiel #6
0
 public void UpdateSupplierAsync(string random, int type, string CustomerId, string Id, SlvHanbaiClient.svcSupplier.EntitySupplier entity)
 {
     this.UpdateSupplierAsync(random, type, CustomerId, Id, entity, null);
 }
Beispiel #7
0
 System.IAsyncResult SlvHanbaiClient.svcSupplier.svcSupplier.BeginUpdateSupplier(string random, int type, string CustomerId, string Id, SlvHanbaiClient.svcSupplier.EntitySupplier entity, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpdateSupplier(random, type, CustomerId, Id, entity, callback, asyncState));
 }