Ejemplo n.º 1
0
 public string Add(Coach c) {
     object[] results = this.Invoke("Add", new object[] {
                 c});
     return ((string)(results[0]));
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void UpdateAsync(Coach c) {
     this.UpdateAsync(c, null);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void UpdateAsync(Coach c, object userState) {
     if ((this.UpdateOperationCompleted == null)) {
         this.UpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOperationCompleted);
     }
     this.InvokeAsync("Update", new object[] {
                 c}, this.UpdateOperationCompleted, userState);
 }
Ejemplo n.º 4
0
 public string Update(Coach c) {
     object[] results = this.Invoke("Update", new object[] {
                 c});
     return ((string)(results[0]));
 }
Ejemplo n.º 5
0
 /// <remarks/>
 public void SearchAsync(Coach c, int page, int pageSize, object userState) {
     if ((this.SearchOperationCompleted == null)) {
         this.SearchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSearchOperationCompleted);
     }
     this.InvokeAsync("Search", new object[] {
                 c,
                 page,
                 pageSize}, this.SearchOperationCompleted, userState);
 }
Ejemplo n.º 6
0
 /// <remarks/>
 public void SearchAsync(Coach c, int page, int pageSize) {
     this.SearchAsync(c, page, pageSize, null);
 }
Ejemplo n.º 7
0
 public Coach[] Search(Coach c, ref int page, int pageSize, out int totalPages) {
     object[] results = this.Invoke("Search", new object[] {
                 c,
                 page,
                 pageSize});
     page = ((int)(results[1]));
     totalPages = ((int)(results[2]));
     return ((Coach[])(results[0]));
 }
Ejemplo n.º 8
0
 /// <remarks/>
 public void AddAsync(Coach c) {
     this.AddAsync(c, null);
 }