public void UpdateSeatType(SeatType seatType)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     var updateSeatType = (from s in dispositionDb.SeatTypes
                     where s.TypeID == seatType.TypeID
                     select s).Single();
     updateSeatType.Code = seatType.Code;
     updateSeatType.Description = seatType.Description;
     updateSeatType.Obsolete = seatType.Obsolete;
     dispositionDb.SubmitChanges();
 }
 public void CreateSeatType(SeatType seatType)
 {
     DispositionDataContext dispositionDb = new DispositionDataContext();
     dispositionDb.SeatTypes.InsertOnSubmit(seatType);
     dispositionDb.SubmitChanges();
 }
 partial void UpdateSeatType(SeatType instance);
 partial void DeleteSeatType(SeatType instance);
 partial void InsertSeatType(SeatType instance);