Entity Framework Core (EF) converts expressions into SQL at runtime. In earlier versions, it was straight forward to get the SQL. In Entity Framework Core 3, you must access the SQL using ILogger. This article explains how to access the SQL generated and gives some example code to access the output of queries made behind the scenes. This article works with Entity Framework Core 3.

Bharat Dwarkani shared on Jul 21, 2020
image
christianfindlay.com
bookmarks
share
visibility9
visibility9 share bookmarks
add