public static CreateCurrencyRate ( global currencyRateID, global currencyRateDate, global fromCurrencyCode, global toCurrencyCode, global averageRate, global endOfDayRate, global modifiedDate ) : |
||
currencyRateID | global | Initial value of the CurrencyRateID property. |
currencyRateDate | global | Initial value of the CurrencyRateDate property. |
fromCurrencyCode | global | Initial value of the FromCurrencyCode property. |
toCurrencyCode | global | Initial value of the ToCurrencyCode property. |
averageRate | global | Initial value of the AverageRate property. |
endOfDayRate | global | Initial value of the EndOfDayRate property. |
modifiedDate | global | Initial value of the ModifiedDate property. |
return |
public static CurrencyRate CreateCurrencyRate(global::System.Int32 currencyRateID, global::System.DateTime currencyRateDate, global::System.String fromCurrencyCode, global::System.String toCurrencyCode, global::System.Decimal averageRate, global::System.Decimal endOfDayRate, global::System.DateTime modifiedDate)
{
CurrencyRate currencyRate = new CurrencyRate();
currencyRate.CurrencyRateID = currencyRateID;
currencyRate.CurrencyRateDate = currencyRateDate;
currencyRate.FromCurrencyCode = fromCurrencyCode;
currencyRate.ToCurrencyCode = toCurrencyCode;
currencyRate.AverageRate = averageRate;
currencyRate.EndOfDayRate = endOfDayRate;
currencyRate.ModifiedDate = modifiedDate;
return currencyRate;
}