/// <summary> /// Deprecated Method for adding a new object to the McQuestions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMcQuestions(McQuestion mcQuestion) { base.AddObject("McQuestions", mcQuestion); }
/// <summary> /// Create a new McQuestion object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static McQuestion CreateMcQuestion(global::System.Int32 id) { McQuestion mcQuestion = new McQuestion(); mcQuestion.ID = id; return mcQuestion; }
public static bool Add(McQuestion obj) { return dao.Add(obj); }