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