private void detach_UserEvents(UserEvent entity)
 {
     this.SendPropertyChanging();
     entity.User = null;
 }
 private void attach_UserEvents(UserEvent entity)
 {
     this.SendPropertyChanging();
     entity.User = this;
 }
 partial void UpdateUserEvent(UserEvent instance);
 partial void DeleteUserEvent(UserEvent instance);
 partial void InsertUserEvent(UserEvent instance);