/// <summary>
 /// Deprecated Method for adding a new object to the PortfolioItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPortfolioItems(PortfolioItem portfolioItem)
     base.AddObject("PortfolioItems", portfolioItem);
 /// <summary>
 /// Create a new PortfolioItem object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="url">Initial value of the Url property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="personId">Initial value of the PersonId property.</param>
 /// <param name="portfolioItemType_Id">Initial value of the PortfolioItemType_Id property.</param>
 public static PortfolioItem CreatePortfolioItem(global::System.Int32 id, global::System.String name, global::System.String url, global::System.String description, global::System.Int32 personId, global::System.Int32 portfolioItemType_Id)
     PortfolioItem portfolioItem = new PortfolioItem();
     portfolioItem.Id = id;
     portfolioItem.Name = name;
     portfolioItem.Url = url;
     portfolioItem.Description = description;
     portfolioItem.PersonId = personId;
     portfolioItem.PortfolioItemType_Id = portfolioItemType_Id;
     return portfolioItem;