Exemplo n.º 1
0
 protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
 {
     if (ModifyOptions)
     {
         optionsBuilder.UseQueryTrackingBehavior(QueryTrackingBehavior.NoTracking);
     }
 }