http://www.hanselman.com/blog/TheWeekly ... asier.aspx This thread was imported from our support forum. The original discussion may contain more detailed answer. |
Thanks for the link. I know about DynamicQuery, but never tested it so far. AFAIK, it is ORM-independent, so it must work with our own IQueryable implementation. Custom LINQ translators (and LINQ preprocessors) in DO4 are designed to solve a bit different problem:
But in both cases you can use such tools as DynamicQuery to solve the problem. Btw, I checked up the links there further, and found few more nice things:
AsExpandable() is based on original post @ http://tomasp.net/ blog. I'm reading it during last few months - the author makes really great posts, the content is mainly related to functional programming on .NET. |