/// <summary> /// Create a new Portfolio object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="creationTimeStamp">Initial value of the CreationTimeStamp property.</param> public static Portfolio CreatePortfolio(global::System.Guid id, global::System.DateTime creationTimeStamp) { Portfolio portfolio = new Portfolio(); portfolio.Id = id; portfolio.CreationTimeStamp = creationTimeStamp; return portfolio; }
/// <summary> /// Deprecated Method for adding a new object to the Portfolios EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPortfolios(Portfolio portfolio) { base.AddObject("Portfolios", portfolio); }