/// <summary> /// Create a new Level2 object. /// </summary> /// <param name="qno">Initial value of the Qno property.</param> /// <param name="question">Initial value of the Question property.</param> /// <param name="answer">Initial value of the Answer property.</param> public static Level2 CreateLevel2(global::System.Int32 qno, global::System.String question, global::System.String answer) { Level2 level2 = new Level2(); level2.Qno = qno; level2.Question = question; level2.Answer = answer; return(level2); }
/// <summary> /// Deprecated Method for adding a new object to the Level2 EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLevel2(Level2 level2) { base.AddObject("Level2", level2); }