partial void Updateticket(ticket instance);
 private void detach_tickets(ticket entity)
 {
     this.SendPropertyChanging();
     entity.passenger = null;
 }
 partial void Insertticket(ticket instance);
 private void attach_tickets(ticket entity)
 {
     this.SendPropertyChanging();
     entity.passenger = this;
 }