コード例 #1
0
 /// <summary>
 /// Update a InvoiceLHDetail.
 /// </summary>
 public void Update(Model.InvoiceLHDetail invoiceLHDetail)
 {
     //
     // todo: add other logic here.
     //
     accessor.Update(invoiceLHDetail);
 }
コード例 #2
0
 /// <summary>
 /// Insert a InvoiceLHDetail.
 /// </summary>
 public void Insert(Model.InvoiceLHDetail invoiceLHDetail)
 {
     //
     // todo:add other logic here
     //
     accessor.Insert(invoiceLHDetail);
 }
コード例 #3
0
        protected override Form GetViewForm()
        {
            Model.InvoiceLHDetail detail = this.bindingSource1.Current as Model.InvoiceLHDetail;
            if (detail != null)
            {
                return(new EditForm(detail.InvoiceLHId));
            }
            //        return new ViewForm(invoice.InvoiceId);

            return(null);
        }
コード例 #4
0
 public void Update(Model.InvoiceLHDetail e)
 {
     this.Update <Model.InvoiceLHDetail>(e);
 }
コード例 #5
0
 public void Insert(Model.InvoiceLHDetail e)
 {
     this.Insert <Model.InvoiceLHDetail>(e);
 }