public void Initialize() { this.context = new Northwind(); this.resolver = new DynamicProxyTypeResolver(); }
public void Initialize() { dbContext = new Northwind(); dbContext.Configuration.LazyLoadingEnabled = false; dbContext.Configuration.ProxyCreationEnabled = false; }