/// <summary>
 /// Deprecated Method for adding a new object to the Investments EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvestments(Investment investment)
 {
     base.AddObject("Investments", investment);
 }
 /// <summary>
 /// Create a new Investment object.
 /// </summary>
 /// <param name="investmentNo">Initial value of the InvestmentNo property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="lastName">Initial value of the LastName property.</param>
 /// <param name="investmentAmount">Initial value of the InvestmentAmount property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static Investment CreateInvestment(global::System.Int64 investmentNo, global::System.String firstName, global::System.String lastName, global::System.Decimal investmentAmount, global::System.Boolean isActive)
 {
     Investment investment = new Investment();
     investment.InvestmentNo = investmentNo;
     investment.FirstName = firstName;
     investment.LastName = lastName;
     investment.InvestmentAmount = investmentAmount;
     investment.IsActive = isActive;
     return investment;
 }