public static AdventureWorksProductContext GetEagerContext() { var context = new AdventureWorksProductContext(); context.Configuration.LazyLoadingEnabled = false; context.Configuration.ProxyCreationEnabled = false; return context; }
public static AdventureWorksProductContext GetEagerContext() { var context = new AdventureWorksProductContext(); context.Configuration.LazyLoadingEnabled = false; context.Configuration.ProxyCreationEnabled = false; return(context); }