Can I configure an interceptor in EntityFramework Core?

后端 未结 3 1296
时光说笑
时光说笑 2020-12-03 01:34

In the old (pre .net core) era\'s entity framework 6 as shown in this blog post there is a way to configure an interceptor which can log all slow queries including a stack b

3条回答
  •  情话喂你
    2020-12-03 02:01

    It is coming for EntityFramework Core 3.0: https://github.com/aspnet/EntityFrameworkCore/issues/15066

    It will work the same way as the one in EF 6

提交回复
热议问题