예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TN_Exam EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTN_Exam(TN_Exam tN_Exam)
 {
     base.AddObject("TN_Exam", tN_Exam);
 }
예제 #2
0
 /// <summary>
 /// Create a new TN_Exam object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="content">Initial value of the Content property.</param>
 /// <param name="startDate">Initial value of the StartDate property.</param>
 /// <param name="endDate">Initial value of the EndDate property.</param>
 /// <param name="questionCount">Initial value of the QuestionCount property.</param>
 /// <param name="time">Initial value of the Time property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static TN_Exam CreateTN_Exam(global::System.Int32 id, global::System.String content, global::System.DateTime startDate, global::System.DateTime endDate, global::System.Int32 questionCount, global::System.Int32 time, global::System.Boolean isActive)
 {
     TN_Exam tN_Exam = new TN_Exam();
     tN_Exam.ID = id;
     tN_Exam.Content = content;
     tN_Exam.StartDate = startDate;
     tN_Exam.EndDate = endDate;
     tN_Exam.QuestionCount = questionCount;
     tN_Exam.Time = time;
     tN_Exam.IsActive = isActive;
     return tN_Exam;
 }