3 ms·
Yes it is, but it's much less complicated than trying to guess what your generated SQL code will look like.
by jamra 9y ago
Yes it is, but it's much less complicated than trying to guess what your generated SQL code will look like.
- scarface74 9y agoNo 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.