Es scheint, dass dieser Weg nicht mehr verfügbar ist.
public ApplicationDbContext()
{
this.Configuration.LazyLoadingEnabled = false;
}
Antworten:
6 für die Antwort № 1In EF7 ist (derzeit) kein Lazy Loading vorhanden, daher gibt es keine API zum Deaktivieren https://github.com/aspnet/EntityFramework/issues/3797