/// <summary> /// Create a new Article object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="sysName">Initial value of the SysName property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static Article CreateArticle(global::System.Int32 id, global::System.String sysName, global::System.Boolean isActive) { Article article = new Article(); article.Id = id; article.SysName = sysName; article.IsActive = isActive; return article; }
/// <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); }