Example #1
0
 /// <remarks/>
 public void DataSourceSaveAsync(DataSource source, object userState)
 {
     if ((this.DataSourceSaveOperationCompleted == null)) {
         this.DataSourceSaveOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDataSourceSaveOperationCompleted);
     }
     this.InvokeAsync("DataSourceSave", new object[] {
                 source}, this.DataSourceSaveOperationCompleted, userState);
 }
Example #2
0
 public DataSource DataSourceSave(DataSource source)
 {
     object[] results = this.Invoke("DataSourceSave", new object[] {
                 source});
     return ((DataSource)(results[0]));
 }
Example #3
0
 /// <remarks/>
 public void DataSourceSaveAsync(DataSource source)
 {
     this.DataSourceSaveAsync(source, null);
 }
Example #4
0
 /// <remarks/>
 public System.IAsyncResult BeginDataSourceSave(DataSource source, System.AsyncCallback callback, object asyncState)
 {
     return this.BeginInvoke("DataSourceSave", new object[] {
                 source}, callback, asyncState);
 }