Where did the overload of DbQuery.Include() go that takes a lambda?

using System.Data.Entity;

It’s in EF v4.1 and above, but you need a reference as it is an extension method.


Edit (thanks to @EastonJamesHarvey)

If using EF Core the import should be:

using Microsoft.EntityFrameworkCore;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)