/// <summary> /// Create a new SurveyQuestionOptions object. /// </summary> /// <param name="questionOptionGuid">Initial value of the QuestionOptionGuid property.</param> /// <param name="questionGuid">Initial value of the QuestionGuid property.</param> /// <param name="answer">Initial value of the Answer property.</param> /// <param name="order">Initial value of the Order property.</param> public static SurveyQuestionOptions CreateSurveyQuestionOptions(global::System.Guid questionOptionGuid, global::System.Guid questionGuid, global::System.String answer, global::System.Int32 order) { SurveyQuestionOptions surveyQuestionOptions = new SurveyQuestionOptions(); surveyQuestionOptions.QuestionOptionGuid = questionOptionGuid; surveyQuestionOptions.QuestionGuid = questionGuid; surveyQuestionOptions.Answer = answer; surveyQuestionOptions.Order = order; return surveyQuestionOptions; }
/// <summary> /// Deprecated Method for adding a new object to the SurveyQuestionOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSurveyQuestionOptions(SurveyQuestionOptions surveyQuestionOptions) { base.AddObject("SurveyQuestionOptions", surveyQuestionOptions); }