public override NorthwindContext CreateContext() { var context = new SqlServerNorthwindContext(_serviceProvider, _options); context.ChangeTracker.AutoDetectChangesEnabled = false; return context; }
public override NorthwindContext CreateContext() { var context = new SqlServerNorthwindContext(_serviceProvider, _options); context.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking; return context; }