/// <summary>
 /// Deprecated Method for adding a new object to the UserProfile EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfile(UserProfile userProfile)
 {
     base.AddObject("UserProfile", userProfile);
 }
 /// <summary>
 /// Create a new UserProfile object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="userName">Initial value of the UserName property.</param>
 public static UserProfile CreateUserProfile(global::System.Int32 userId, global::System.String userName)
 {
     UserProfile userProfile = new UserProfile();
     userProfile.UserId = userId;
     userProfile.UserName = userName;
     return userProfile;
 }