/// <summary> /// Create a new Question object. /// </summary> /// <param name="questionId">Initial value of the QuestionId property.</param> /// <param name="question1">Initial value of the Question1 property.</param> public static Question CreateQuestion(global::System.Int32 questionId, global::System.String question1) { Question question = new Question(); question.QuestionId = questionId; question.Question1 = question1; 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); }