예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the McQuestions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMcQuestions(McQuestion mcQuestion)
 {
     base.AddObject("McQuestions", mcQuestion);
 }
예제 #2
0
 /// <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;
 }
예제 #3
0
 public static bool Add(McQuestion obj)
 {
     return dao.Add(obj);
 }