コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the t_ShortTermAnswers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTot_ShortTermAnswers(t_ShortTermAnswers t_ShortTermAnswers)
 {
     base.AddObject("t_ShortTermAnswers", t_ShortTermAnswers);
 }
コード例 #2
0
 /// <summary>
 /// Create a new t_ShortTermAnswers object.
 /// </summary>
 /// <param name="shortTermAnswerId">Initial value of the ShortTermAnswerId property.</param>
 /// <param name="shortTermQuestionsId">Initial value of the ShortTermQuestionsId property.</param>
 /// <param name="answer">Initial value of the Answer property.</param>
 /// <param name="isCorrect">Initial value of the IsCorrect property.</param>
 /// <param name="created">Initial value of the Created property.</param>
 public static t_ShortTermAnswers Createt_ShortTermAnswers(global::System.Int32 shortTermAnswerId, global::System.Int32 shortTermQuestionsId, global::System.String answer, global::System.Boolean isCorrect, global::System.DateTime created)
 {
     t_ShortTermAnswers t_ShortTermAnswers = new t_ShortTermAnswers();
     t_ShortTermAnswers.ShortTermAnswerId = shortTermAnswerId;
     t_ShortTermAnswers.ShortTermQuestionsId = shortTermQuestionsId;
     t_ShortTermAnswers.Answer = answer;
     t_ShortTermAnswers.IsCorrect = isCorrect;
     t_ShortTermAnswers.Created = created;
     return t_ShortTermAnswers;
 }