Entity Framework: Access/ debug SQL

333 Views Asked by At

I like to view my SQL queries generated by AdpDbContext in my logging infrastrucutre.

I come accross following article https://www.entityframeworktutorial.net/efcore/logging-in-entityframework-core.aspx but I am not sure how to integrate it with the existing abp infrastructure?

Can you please give me a hint how I can log the SQL queries to the existing Logging infrastructure?

1

There are 1 best solutions below

0
On

When run a project HTTP Api on VS2019 you can get access to this information on output console log. All the information is shown on this feature. Check it out... Output