private void detach_UpVotes(UpVote entity)
 {
     this.SendPropertyChanging();
     entity.User = null;
 }
 private void attach_UpVotes(UpVote entity)
 {
     this.SendPropertyChanging();
     entity.User = this;
 }
 partial void UpdateUpVote(UpVote instance);
 partial void DeleteUpVote(UpVote instance);
 partial void InsertUpVote(UpVote instance);