public void Setup() { _context = new TestContext(_connectionString); _context.Configuration.AutoDetectChangesEnabled = false; _context.Configuration.LazyLoadingEnabled = false; _context.Configuration.ProxyCreationEnabled = false; _context.Configuration.ValidateOnSaveEnabled = false; }
public void Setup() { _context = new TestContext(_connectionString); _context.Configuration.AutoDetectChangesEnabled = true; }
public void Setup() { _context = new TestContext(_connectionString); }
public void Setup() { _context = new TestContext(_connectionString); _context.Configuration.ValidateOnSaveEnabled = false; }