Profiling DB Queries with Linq2DB or Dapper

Hello,

I was wondering if using dotTrace I can see the queries performed via Dapper / Linq2DB or if it's they're not supported as providers

 

Thanks

0
1 comment

Hi,

dotTrace collects SQL data from the following ETW data providers:

  • SQLClient

  • OLE DB

  • Entity Framework

  • ODBC

So it depends on data provider, not on ORM. Theoretically, if the ORMs use one of the mentioned data providers, you will see the corresponding queries in a snapshot. You can check it with the trial version of dotTrace: https://www.jetbrains.com/profiler/download/#section=standalone

Please note that collecting SQL data is available in Timeline profiling mode only.

0

Please sign in to leave a comment.