Пример #1
0
 /// <remarks/>
 public void UpdateAsync(Rack c, System.DateTime start, System.DateTime end) {
     this.UpdateAsync(c, start, end, null);
 }
Пример #2
0
 /// <remarks/>
 public void UpdateAsync(Rack c, System.DateTime start, System.DateTime end, object userState) {
     if ((this.UpdateOperationCompleted == null)) {
         this.UpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOperationCompleted);
     }
     this.InvokeAsync("Update", new object[] {
                 c,
                 start,
                 end}, this.UpdateOperationCompleted, userState);
 }
Пример #3
0
 /// <remarks/>
 public void SearchAsync(Rack 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);
 }
Пример #4
0
 public string Update(Rack c, System.DateTime start, System.DateTime end) {
     object[] results = this.Invoke("Update", new object[] {
                 c,
                 start,
                 end});
     return ((string)(results[0]));
 }
Пример #5
0
 /// <remarks/>
 public void SearchAsync(Rack c, int page, int pageSize) {
     this.SearchAsync(c, page, pageSize, null);
 }
Пример #6
0
 public Rack[] Search(Rack 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 ((Rack[])(results[0]));
 }
Пример #7
0
 /// <remarks/>
 public void AddAsync(Rack a, object userState) {
     if ((this.AddOperationCompleted == null)) {
         this.AddOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddOperationCompleted);
     }
     this.InvokeAsync("Add", new object[] {
                 a}, this.AddOperationCompleted, userState);
 }
Пример #8
0
 /// <remarks/>
 public void AddAsync(Rack a) {
     this.AddAsync(a, null);
 }
Пример #9
0
 public int Add(Rack a) {
     object[] results = this.Invoke("Add", new object[] {
                 a});
     return ((int)(results[0]));
 }