A
A
alexxxey_code2021-04-21 22:00:00
ASP.NET
alexxxey_code, 2021-04-21 22:00:00

Where are the log messages in the ef core database?

When sending any queries to the database via the HTML form (adding, editing, etc.), I want to know how queries are generated in the database
. In the constructor, there is only a created database, but there are no query records when adding and editing using forms6080755410f71376126438.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2021-04-21
@alexxxey_code

1. In DbContext, you can enable logging of all SQL queries
2. To view data in the database, use SSMS

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question