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