/// <summary>
 /// Create a new accountHistory object.
 /// </summary>
 /// <param name="userID">Initial value of the userID property.</param>
 /// <param name="currentBalance">Initial value of the currentBalance property.</param>
 /// <param name="pNL">Initial value of the pNL property.</param>
 /// <param name="ranking">Initial value of the ranking property.</param>
 /// <param name="logDate">Initial value of the logDate property.</param>
 public static accountHistory CreateaccountHistory(global::System.Guid userID, global::System.Decimal currentBalance, global::System.Decimal pNL, global::System.Int32 ranking, global::System.DateTime logDate)
 {
     accountHistory accountHistory = new accountHistory();
     accountHistory.userID = userID;
     accountHistory.currentBalance = currentBalance;
     accountHistory.pNL = pNL;
     accountHistory.ranking = ranking;
     accountHistory.logDate = logDate;
     return accountHistory;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the accountHistories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToaccountHistories(accountHistory accountHistory)
 {
     base.AddObject("accountHistories", accountHistory);
 }