AutoMapper 3.3 feature: parameterized projections

added by Robert Greyling
1/14/2015 1:20:37 PM

1 Kicks, 397 Views

These days, I’m pretty much solely using the LINQ projections in concert with some sort of data access object/ORM (ISession, DbContext, IDocumentSession etc.). Allowing for runtime values in LINQ queries is fairly straightforward without AutoMapper – you can create a closure that gets captured in the resulting expression tree