/// <summary> /// Create a new InterestRate object. /// </summary> /// <param name="currencyCode">Initial value of the CurrencyCode property.</param> /// <param name="date">Initial value of the Date property.</param> /// <param name="value">Initial value of the Value property.</param> public static InterestRate CreateInterestRate(global::System.String currencyCode, global::System.DateTime date, global::System.Decimal value) { InterestRate interestRate = new InterestRate(); interestRate.CurrencyCode = currencyCode; interestRate.Date = date; interestRate.Value = value; return interestRate; }
/// <summary> /// Deprecated Method for adding a new object to the InterestRates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToInterestRates(InterestRate interestRate) { base.AddObject("InterestRates", interestRate); }