/// <summary> /// Deprecated Method for adding a new object to the TestQuestions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestQuestions(TestQuestion testQuestion) { base.AddObject("TestQuestions", testQuestion); }
/// <summary> /// Create a new TestQuestion object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="testID">Initial value of the TestID property.</param> /// <param name="questionID">Initial value of the QuestionID property.</param> /// <param name="ordinalNumber">Initial value of the OrdinalNumber property.</param> public static TestQuestion CreateTestQuestion(global::System.Int32 id, global::System.Int32 testID, global::System.Int32 questionID, global::System.Int32 ordinalNumber) { TestQuestion testQuestion = new TestQuestion(); testQuestion.ID = id; testQuestion.TestID = testID; testQuestion.QuestionID = questionID; testQuestion.OrdinalNumber = ordinalNumber; return testQuestion; }