/// <summary>
 /// Deprecated Method for adding a new object to the ExchangeRates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExchangeRates(ExchangeRate exchangeRate)
 {
     base.AddObject("ExchangeRates", exchangeRate);
 }
 /// <summary>
 /// Create a new ExchangeRate object.
 /// </summary>
 /// <param name="currency">Initial value of the Currency property.</param>
 /// <param name="rate">Initial value of the Rate property.</param>
 public static ExchangeRate CreateExchangeRate(global::System.String currency, global::System.Double rate)
 {
     ExchangeRate exchangeRate = new ExchangeRate();
     exchangeRate.Currency = currency;
     exchangeRate.Rate = rate;
     return exchangeRate;
 }