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 takes a string, not a lambda expression. Change it to CustomerSites.Include("Customer")
Include
CustomerSites.Include("Customer")