/// <summary> /// Create a new UserProfileQuestionAnswer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="userProfileQuestionName">Initial value of the UserProfileQuestionName property.</param> /// <param name="answer">Initial value of the Answer property.</param> public static UserProfileQuestionAnswer CreateUserProfileQuestionAnswer(global::System.Int32 id, global::System.Int32 userId, global::System.String userProfileQuestionName, global::System.Int32 answer) { UserProfileQuestionAnswer userProfileQuestionAnswer = new UserProfileQuestionAnswer(); userProfileQuestionAnswer.Id = id; userProfileQuestionAnswer.UserId = userId; userProfileQuestionAnswer.UserProfileQuestionName = userProfileQuestionName; userProfileQuestionAnswer.Answer = answer; return userProfileQuestionAnswer; }
/// <summary> /// Deprecated Method for adding a new object to the UserProfileQuestionAnswers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserProfileQuestionAnswers(UserProfileQuestionAnswer userProfileQuestionAnswer) { base.AddObject("UserProfileQuestionAnswers", userProfileQuestionAnswer); }