Get SQL Query in Entity Framework Core
View the generated SQL query by entity framework is important. The translated SQL query may not what you expected. Sometimes it leads to significant performance issue.
Print the generated query for an IQueryable<T>
in
EF Core is different with EF. Finally I found a worked solution which is
listed below.