I would want to be able to capture all of the SQL queries that the DbContext generates when I'm using Entity Framework Code First. There was a DB log in Linq to SQL, but I can't seem to locate it in EF. I could then output them to the website or place them into a log.
EntityFramework Assembly 18.104.22.168 is the version I'm using.
The EF Profiler, Entity Framework is your greatest option, but it's regrettably not free.
Run a manual query to get the SQL it will produce.
however each question will have to be handled separately.
The Sql Server Profiler, which, I think, is included with Sql Server Management Studio, may be opened and used to log the sql statements if you are using MS SQL Server as your backend.