http://www.hanselman.com/blog/TheWeekly ... asier.aspx

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Jan 27 '10 at 19:39

ara's gravatar image

ara
395878791


One 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:

  • Translators add support for new features you can use in queries;

  • Preprocessors can transform the original query to something completely different before it gets compiled (e.g. to add security checks).

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.

answered Jan 28 '10 at 05:52

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412

Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA