private object[] OnEndGetLatestTransaction(System.IAsyncResult result) { ClassLibrary1.TransactionTO retVal = this.EndGetLatestTransaction(result); return(new object[] { retVal }); }
public void SaveAsync(ClassLibrary1.TransactionTO t, object userState) { if ((this.onBeginSaveDelegate == null)) { this.onBeginSaveDelegate = new BeginOperationDelegate(this.OnBeginSave); } if ((this.onEndSaveDelegate == null)) { this.onEndSaveDelegate = new EndOperationDelegate(this.OnEndSave); } if ((this.onSaveCompletedDelegate == null)) { this.onSaveCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSaveCompleted); } base.InvokeAsync(this.onBeginSaveDelegate, new object[] { t }, this.onEndSaveDelegate, this.onSaveCompletedDelegate, userState); }
public System.Threading.Tasks.Task <bool> SaveAsync(ClassLibrary1.TransactionTO t) { return(base.Channel.SaveAsync(t)); }
public bool Save(ClassLibrary1.TransactionTO t) { return(base.Channel.Save(t)); }
public void SaveAsync(ClassLibrary1.TransactionTO t) { this.SaveAsync(t, null); }
private System.IAsyncResult OnBeginSave(object[] inValues, System.AsyncCallback callback, object asyncState) { ClassLibrary1.TransactionTO t = ((ClassLibrary1.TransactionTO)(inValues[0])); return(this.BeginSave(t, callback, asyncState)); }
public System.IAsyncResult BeginSave(ClassLibrary1.TransactionTO t, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginSave(t, callback, asyncState)); }