public static void InsertUserFollowUp(long? followerID, long? followingID) { user_followup userFollow = new user_followup(); userFollow.follower_user_id = followerID; userFollow.following_user_id = followingID; try { DatabaseConnect.DataContext.user_followups.InsertOnSubmit(userFollow); DatabaseConnect.DataContext.SubmitChanges(); } catch (Exception ex) { } }
partial void Deleteuser_followup(user_followup instance);
partial void Updateuser_followup(user_followup instance);
partial void Insertuser_followup(user_followup instance);
private void detach_user_followups1(user_followup entity) { this.SendPropertyChanging(); entity.user_registration1 = null; }
private void attach_user_followups(user_followup entity) { this.SendPropertyChanging(); entity.user_registration = this; }