With entity framework 6 just use context.Database.Log
but with ef core how can i log sqlite query?
Hi jon,
Refer below links.
https://docs.microsoft.com/en-us/ef/core/miscellaneous/logging
https://blogs.msdn.microsoft.com/dbrowne/2017/09/22/simple-logging-for-ef-core/
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.