/// <summary> /// Deprecated Method for adding a new object to the StudentExamQuestions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStudentExamQuestions(StudentExamQuestion studentExamQuestion) { base.AddObject("StudentExamQuestions", studentExamQuestion); }
/// <summary> /// Create a new StudentExamQuestion object. /// </summary> /// <param name="regId">Initial value of the RegId property.</param> /// <param name="questionID">Initial value of the QuestionID property.</param> public static StudentExamQuestion CreateStudentExamQuestion(global::System.Int32 regId, global::System.Int32 questionID) { StudentExamQuestion studentExamQuestion = new StudentExamQuestion(); studentExamQuestion.RegId = regId; studentExamQuestion.QuestionID = questionID; return studentExamQuestion; }