Alexandr Nikitin
Alexandr Nikitin

Reputation: 7436

Library or framework to create custom Linq provider

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

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

Upvotes: 0

Views: 949

Answers (3)

mcintyre321
mcintyre321

Reputation: 13306

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.

Upvotes: 0

Nikolay
Nikolay

Reputation: 3828

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.

Upvotes: 2

M. Mennan Kara
M. Mennan Kara

Reputation: 10222

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.

Upvotes: 1

Related Questions