Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Answers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAnswers(Answer answer)
 {
     base.AddObject("Answers", answer);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Answer object.
 /// </summary>
 /// <param name="questionID">Initial value of the QuestionID property.</param>
 /// <param name="mSID">Initial value of the MSID property.</param>
 /// <param name="answerText">Initial value of the AnswerText property.</param>
 public static Answer CreateAnswer(global::System.Int32 questionID, global::System.Int32 mSID, global::System.String answerText)
 {
     Answer answer = new Answer();
     answer.QuestionID = questionID;
     answer.MSID = mSID;
     answer.AnswerText = answerText;
     return answer;
 }