Example #1
0
 /// <summary>
 /// Insert a AcCollectionDetail.
 /// </summary>
 public void Insert(Model.AcCollectionDetail acCollectionDetail)
 {
     //
     // todo:add other logic here
     //
     accessor.Insert(acCollectionDetail);
 }
Example #2
0
 /// <summary>
 /// Update a AcCollectionDetail.
 /// </summary>
 public void Update(Model.AcCollectionDetail acCollectionDetail)
 {
     //
     // todo: add other logic here.
     //
     accessor.Update(acCollectionDetail);
 }
Example #3
0
 private void simpleButton_Remove_Click(object sender, EventArgs e)
 {
     Model.AcCollectionDetail currentRow = this.bindingSourceDetails.Current as Model.AcCollectionDetail;
     if (currentRow != null)
     {
         this._acCollection.Detail.Remove(currentRow);
     }
     this.gridControl1.RefreshDataSource();
 }
 public void Update(Model.AcCollectionDetail e)
 {
     this.Update <Model.AcCollectionDetail>(e);
 }
 public void Insert(Model.AcCollectionDetail e)
 {
     this.Insert <Model.AcCollectionDetail>(e);
 }