public void Delete(JobInvoiceReturnHeader pt)
 {
     db.JobInvoiceReturnHeader.Remove(pt);
 }
 public void Update(JobInvoiceReturnHeader pt)
 {
     pt.ObjectState = ObjectState.Modified;
     db.JobInvoiceReturnHeader.Add(pt);
 }
 public JobInvoiceReturnHeader Create(JobInvoiceReturnHeader pt)
 {
     pt.ObjectState = ObjectState.Added;
     db.JobInvoiceReturnHeader.Add(pt);
     return(pt);
 }