private void detach_UserPosts(UserPost entity)
 {
     this.SendPropertyChanging();
     entity.UserRegistration = null;
 }
 partial void UpdateUserPost(UserPost instance);
 partial void DeleteUserPost(UserPost instance);
 partial void InsertUserPost(UserPost instance);