コード例 #1
0
 /// <summary>
 /// Create a new SurveyQuestions object.
 /// </summary>
 /// <param name="questionGuid">Initial value of the QuestionGuid property.</param>
 /// <param name="pageGuid">Initial value of the PageGuid property.</param>
 /// <param name="questionTypeId">Initial value of the QuestionTypeId property.</param>
 /// <param name="answerIsRequired">Initial value of the AnswerIsRequired property.</param>
 /// <param name="questionOrder">Initial value of the QuestionOrder property.</param>
 public static SurveyQuestions CreateSurveyQuestions(global::System.Guid questionGuid, global::System.Guid pageGuid, global::System.Int32 questionTypeId, global::System.Boolean answerIsRequired, global::System.Int32 questionOrder)
 {
     SurveyQuestions surveyQuestions = new SurveyQuestions();
     surveyQuestions.QuestionGuid = questionGuid;
     surveyQuestions.PageGuid = pageGuid;
     surveyQuestions.QuestionTypeId = questionTypeId;
     surveyQuestions.AnswerIsRequired = answerIsRequired;
     surveyQuestions.QuestionOrder = questionOrder;
     return surveyQuestions;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SurveyQuestions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurveyQuestions(SurveyQuestions surveyQuestions)
 {
     base.AddObject("SurveyQuestions", surveyQuestions);
 }