Wiki Link: [discussion:2342]
Error: "Error binding to target method" when call EFPocoCompiledQuery.Compile 

Oct 1 2009 at 4:22 PM
var test = EFPocoCompiledQuery.Compile((NorthwindEntities context) => context.Customers.Where(c => c.CustomerID == "ALFKI").Select(c => c));
using (NorthwindEntities context = new NorthwindEntities())
{
var result = test(context); //Error occurred here
}

I run this code and get error: "Error binding to target method". What's wrong?


Updating...
Page view tracker