Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SurveyAnswers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSurveyAnswers(SurveyAnswer surveyAnswer)
 {
     base.AddObject("SurveyAnswers", surveyAnswer);
 }
Пример #2
0
 /// <summary>
 /// Create a new SurveyAnswer object.
 /// </summary>
 /// <param name="answerID">Initial value of the AnswerID property.</param>
 /// <param name="portalID">Initial value of the PortalID property.</param>
 /// <param name="displayOrder">Initial value of the DisplayOrder property.</param>
 /// <param name="answerGroupID">Initial value of the AnswerGroupID property.</param>
 /// <param name="answer">Initial value of the Answer property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static SurveyAnswer CreateSurveyAnswer(global::System.Int32 answerID, global::System.Int32 portalID, global::System.Int32 displayOrder, global::System.Int32 answerGroupID, global::System.String answer, global::System.Boolean isDeleted)
 {
     SurveyAnswer surveyAnswer = new SurveyAnswer();
     surveyAnswer.AnswerID = answerID;
     surveyAnswer.PortalID = portalID;
     surveyAnswer.DisplayOrder = displayOrder;
     surveyAnswer.AnswerGroupID = answerGroupID;
     surveyAnswer.Answer = answer;
     surveyAnswer.IsDeleted = isDeleted;
     return surveyAnswer;
 }