Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class MyDbContext : DbContext
- {
- protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
- {
- base.OnConfiguring(optionsBuilder);
- optionsBuilder.ConfigureWarnings(warning =>
- {
- warning.Throw(RelationalEventId.QueryClientEvaluationWarning);
- });
- }
- }
Add Comment
Please, Sign In to add comment