Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Currencies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCurrencies(Currencies currencies)
 {
     base.AddObject("Currencies", currencies);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Currencies object.
 /// </summary>
 /// <param name="currencyID">Initial value of the CurrencyID property.</param>
 /// <param name="exchangeRateSterling">Initial value of the ExchangeRateSterling property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Currencies CreateCurrencies(global::System.Int32 currencyID, global::System.Decimal exchangeRateSterling, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     Currencies currencies = new Currencies();
     currencies.CurrencyID = currencyID;
     currencies.ExchangeRateSterling = exchangeRateSterling;
     currencies.AddDate = addDate;
     currencies.RowVersion = rowVersion;
     return currencies;
 }