Include
is not an extension method on Queryable
, so it doesn’t come together with all the usual LINQ methods. If you are using Entity Framework, you need to import the corresponding namespace:
using System.Data.Entity;
Include
is not an extension method on Queryable
, so it doesn’t come together with all the usual LINQ methods. If you are using Entity Framework, you need to import the corresponding namespace:
using System.Data.Entity;