This post shows you how to intercept and view the SQL generated by Entity Framework Core. This method takes advantage of Microsoft's built in logging for .NET core. Only 2 lines of code required.
How to View the SQL Generated by Entity Framework Core using .NET Core's built in Logging
