示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Exams EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExams(Exam exam)
 {
     base.AddObject("Exams", exam);
 }
示例#2
0
 /// <summary>
 /// Create a new Exam object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="classID">Initial value of the ClassID property.</param>
 /// <param name="isPublic">Initial value of the IsPublic property.</param>
 /// <param name="isDeleted">Initial value of the IsDeleted property.</param>
 public static Exam CreateExam(global::System.Int32 id, global::System.Int32 classID, global::System.Boolean isPublic, global::System.Boolean isDeleted)
 {
     Exam exam = new Exam();
     exam.ID = id;
     exam.ClassID = classID;
     exam.IsPublic = isPublic;
     exam.IsDeleted = isDeleted;
     return exam;
 }