In my controller i am trying to use include with EF4 to select related entities, but the lambda expression is throwing the following error,
i have the related entity de
Include is an extension method in the System.Data.Entity namespace, you need to add:
using System.Data.Entity;
Then you can use the lambda expression, instead of the string.