protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) { if (ModifyOptions) { optionsBuilder.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking); } }