/// <remarks/> public void SaveCustomerAsync(Customer c) { this.SaveCustomerAsync(c, null); }
/// <remarks/> public void SaveCustomerAsync(Customer c, object userState) { if ((this.SaveCustomerOperationCompleted == null)) { this.SaveCustomerOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSaveCustomerOperationCompleted); } this.InvokeAsync("SaveCustomer", new object[] { c}, this.SaveCustomerOperationCompleted, userState); }
public int SaveCustomer(Customer c) { object[] results = this.Invoke("SaveCustomer", new object[] { c}); return ((int)(results[0])); }