Example #1
0
 /// <summary>
 /// Create a new ExchangeRate object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="exchangeDate">Initial value of the ExchangeDate property.</param>
 public static ExchangeRate CreateExchangeRate(global::System.Int32 id, global::System.DateTime exchangeDate)
 {
     ExchangeRate exchangeRate = new ExchangeRate();
     exchangeRate.Id = id;
     exchangeRate.ExchangeDate = exchangeDate;
     return exchangeRate;
 }
Example #2
0
 /// <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);
 }