/// <summary>
 /// Create a new UserProfileQuestion object.
 /// </summary>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="createdByUserId">Initial value of the CreatedByUserId property.</param>
 /// <param name="displayQuestion">Initial value of the DisplayQuestion property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="questionGroup">Initial value of the QuestionGroup property.</param>
 /// <param name="listOrder">Initial value of the ListOrder property.</param>
 public static UserProfileQuestion CreateUserProfileQuestion(global::System.String name, global::System.Int32 createdByUserId, global::System.String displayQuestion, global::System.String description, global::System.String questionGroup, global::System.Int32 listOrder)
 {
     UserProfileQuestion userProfileQuestion = new UserProfileQuestion();
     userProfileQuestion.Name = name;
     userProfileQuestion.CreatedByUserId = createdByUserId;
     userProfileQuestion.DisplayQuestion = displayQuestion;
     userProfileQuestion.Description = description;
     userProfileQuestion.QuestionGroup = questionGroup;
     userProfileQuestion.ListOrder = listOrder;
     return userProfileQuestion;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the UserProfileQuestions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserProfileQuestions(UserProfileQuestion userProfileQuestion)
 {
     base.AddObject("UserProfileQuestions", userProfileQuestion);
 }