Hi Support,
I was wondering if there is a way to use the second optional parameter of the UseOracle() method for ASP .NET Core (Action<OracleDbContextOptionsBuilder>) to trace and log each executed SQL command?
I haven't found any example how to accomplish this.
Thank you
Trace SQL Command Execution with .NET EF Core
Re: Trace SQL Command Execution with .NET EF Core
There are two ways for logging SQL statements:
1) EF Core specific -> https://docs.microsoft.com/en-us/ef/cor ... us/logging
2) provider specific -> https://www.devart.com/dotconnect/oracl ... nitor.html
1) EF Core specific -> https://docs.microsoft.com/en-us/ef/cor ... us/logging
2) provider specific -> https://www.devart.com/dotconnect/oracl ... nitor.html