The EF OjbectSet.Include(a => a.parent) extension is unavailable. I know I could add code to mimic it, but according to EntityFramework 4 upgraded to 5, lamb
OjbectSet.Include(a => a.parent)
According to MSDN, the method is defined in the EntityFramework assembly. (in EntityFramework.dll)
EntityFramework
You'll need to add a reference to the EntityFramework.dll DLL as well.
Afterwards, you'll need to make sure you're referencing the namespace:
using System.Data.Entity;