Re:SQL is 43 years old – Here’s why we still use it today
by jamra on Tuesday May 02, 2017 @02:08PM
(#14248909)
Yes it is, but it's much less complicated than trying to guess what your generated SQL code will look like.
[ Parent
| on HN ]
Re:SQL is 43 years old – Here’s why we still use it today
by scarface74 on Tuesday May 02, 2017 @02:49PM
(#14249347)
No need to guess. Run all of your unit tests without mocking out your DbContext and add the following ....
context.Database.Log = log.Info
Where Log.info is just a method that accepts a string and take a look at the log file generated from your unit tests.