/// <summary> /// Deprecated Method for adding a new object to the Articles EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToArticles(Article article) { base.AddObject("Articles", article); }
/// <summary> /// Create a new Article object. /// </summary> /// <param name="id">Initial value of the id property.</param> public static Article CreateArticle(global::System.Int32 id) { Article article = new Article(); article.id = id; return article; }