There are 17 methods you can overwrite when implementing DbCommandInterceptor. Public override void CommandFailed ( DbCommand command, CommandErrorEventData eventData ) Appendix 1: What types of operations can you intercept? How do I use query interception in Entity Framework Core?ĮF Core exposes a base class DbCommandInterceptor with hooks into the query “life cycle”.Ĭreate a class that extends DbCommandInterceptor
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |