custom-linq-providers

Where are some good tutorials on writing a custom LINQ Provider?

I would like to build a custom LINQ Provider. Mostly for learning purposes, but it may be usefull in the future. I've heard it's not a simple thing to do, but... Where are some good tutorials on writing a custom LINQ Provider? ...

Determining scope of a MemberExpressions target

Is there anyone here with experience writing custom Linq proviers? What I'm trying to do is tell whether a MemberExpression that is a property on a business object should be included in the sql, or treated as a constant, because its from a local variable that just happens to be a business object. So for example, if you have this: Cust...

Finding what methods a LINQ provider supports

I just tried to use Contains in an Entity Framework query only to have it fail as this method doesn't exist in EF. However the code compiles which is frustrating. Does anyone know how to find which methods a LINQ provider supports, given any LINQ provider? ...

Translating Where() to sql

Hi. I saw DamienG's article (http://damieng.com/blog/2009/06/24/client-side-properties-and-any-remote-linq-provider) in how to map client properties to sql. i ran throgh this article, and i saw great potential in it. Definitely mapping client properties to SQL is an awesome idea. But i wanted to use this for something a bit more compli...

System.Linq.Expressions.ExpressionVisitor is inaccessible due to its protection level

I'm trying to follow the instructions on Creating an IQueryable LINQ Provider, but when I implement the classes which inherit from ExpressionVisitor as instructed I am told that ExpressionVisitor is inaccessible due to its protection level. Am I missing something incredibly basic? ...

LINQ Provider to RESTful service

I'm writing a custom LINQ provider to a RESTful service. Some of the calls in the service return summary headers, including total number of records, pagesize, and the page of the return. I need clean a way to return this data. Given this query: var foo = from x in ctx.MyQueryableThingie select x; The "foo" variable above b...