Library or framework to create custom Linq provider

951 Views Asked by At

What libraries or frameworks to create custom Linq provider do you know?

How's you experience? Pros and cons? What's the best?

3

There are 3 best solutions below

1
On BEST ANSWER

Take a look at Re-linq (http://relinq.codeplex.com/). NHibernate uses it in its Linq provider in 3.0 version. We used it too in out project to simplify linq expressions for serializing. I think everyone, who wants to create Linq provider, should take a look on it. Also this article by Ayende Rahien can be useful.

0
On

You can use Linq Extender. Personally I would prefer to code it by myself according to the needs for better performance, but takes more time. In any case, I would strongly suggest to start with Visitor Pattern.

0
On

I created a project called LinqToAnything for writing basic Linq providers without having to faff around with Expression Trees etc. You might find it useful if you are querying an API or SQL or something and just need filtering/paging/ordering.