public void UpdateSeatPortion(SeatPortion seatPortion)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     var updateSeatPortion = (from s in dispositionDb.SeatPortions
                           where s.SeatPortionID == seatPortion.SeatPortionID
                           select s).Single();
     updateSeatPortion.Code = seatPortion.Code;
     updateSeatPortion.Description = seatPortion.Description;
     updateSeatPortion.Obsolete = seatPortion.Obsolete;
     dispositionDb.SubmitChanges();
 }
 public void CreateSeatPortion(SeatPortion seatPortion)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     dispositionDb.SeatPortions.InsertOnSubmit(seatPortion);
     dispositionDb.SubmitChanges();
 }
 partial void UpdateSeatPortion(SeatPortion instance);
 partial void DeleteSeatPortion(SeatPortion instance);
 partial void InsertSeatPortion(SeatPortion instance);