/// <summary>
 /// Deprecated Method for adding a new object to the portfolioHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToportfolioHistories(portfolioHistory portfolioHistory)
 {
     base.AddObject("portfolioHistories", portfolioHistory);
 }
 /// <summary>
 /// Create a new portfolioHistory object.
 /// </summary>
 /// <param name="userID">Initial value of the userID property.</param>
 /// <param name="tickerSymbol">Initial value of the tickerSymbol property.</param>
 /// <param name="quantity">Initial value of the quantity property.</param>
 /// <param name="averagePrice">Initial value of the averagePrice property.</param>
 /// <param name="pNL">Initial value of the pNL property.</param>
 /// <param name="logDate">Initial value of the logDate property.</param>
 public static portfolioHistory CreateportfolioHistory(global::System.Guid userID, global::System.String tickerSymbol, global::System.Decimal quantity, global::System.Decimal averagePrice, global::System.Decimal pNL, global::System.DateTime logDate)
 {
     portfolioHistory portfolioHistory = new portfolioHistory();
     portfolioHistory.userID = userID;
     portfolioHistory.tickerSymbol = tickerSymbol;
     portfolioHistory.quantity = quantity;
     portfolioHistory.averagePrice = averagePrice;
     portfolioHistory.pNL = pNL;
     portfolioHistory.logDate = logDate;
     return portfolioHistory;
 }