/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the ExchangeRates EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExchangeRates(ExchangeRate exchangeRate) { base.AddObject("ExchangeRates", exchangeRate); }