Require tool to trace the LInq Queries in Oracle

97 views Asked by At

i am working entity framework with oracle data connection.

Can anyone suggest tool to get the LINQ queries executed in oracle.

I am looking similar tools like SQL profile in Oracle to trace and execute the queries.

1

There are 1 answers

0
Georgi Yordanov On

I'm not aware of such a tool, but if you are using Entity Framework 6 and you can modify the application code, you can trace the queries by using the builtin logging.

For example, to output all queries to the console, you can use:

context.Database.Log = Console.Write;

For more details check https://msdn.microsoft.com/en-us/data/dn469464.aspx.