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