Using GetValue for multiple columns

var h = new InnerSelectHelper(this);
ExchangeRates.SortByDate.Reversed = true;

var r = h.GetValueHelper(ExchangeRates.Currency.IsEqualTo("USD").And(
         ExchangeRates.EffectiveDate.IsLessOrEqualTo(Orders.OrderDate)),
     ExchangeRates.SortByDate);
r.TurnToGetValue(this.Rate, ExchangeRates.Rate);
r.TurnToGetValue(this.EffectiveDate, ExchangeRates.EffectiveDate); 

Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com