Наследование: DataTransferObject
Пример #1
0
 /// <remarks/>
 public void UpdateAsync(CommentDTO entity, object userState) {
     if ((this.UpdateOperationCompleted == null)) {
         this.UpdateOperationCompleted = new System.Threading.SendOrPostCallback(this.OnUpdateOperationCompleted);
     }
     this.InvokeAsync("Update", new object[] {
                 entity}, this.UpdateOperationCompleted, userState);
 }
Пример #2
0
 /// <remarks/>
 public void UpdateAsync(CommentDTO entity) {
     this.UpdateAsync(entity, null);
 }
Пример #3
0
 /// <remarks/>
 public void CreateAsync(CommentDTO entity) {
     this.CreateAsync(entity, null);
 }
Пример #4
0
 public void Update(CommentDTO entity) {
     this.Invoke("Update", new object[] {
                 entity});
 }
Пример #5
0
 public int Create(CommentDTO entity) {
     object[] results = this.Invoke("Create", new object[] {
                 entity});
     return ((int)(results[0]));
 }