/// <summary> /// Create a new CannedQuestion object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> public static CannedQuestion CreateCannedQuestion(global::System.Int32 id, global::System.DateTime createdOn, global::System.DateTime updatedOn) { CannedQuestion cannedQuestion = new CannedQuestion(); cannedQuestion.Id = id; cannedQuestion.CreatedOn = createdOn; cannedQuestion.UpdatedOn = updatedOn; return cannedQuestion; }
/// <summary> /// Deprecated Method for adding a new object to the CannedQuestions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCannedQuestions(CannedQuestion cannedQuestion) { base.AddObject("CannedQuestions", cannedQuestion); }