Profiling DB Queries with Linq2DB or Dapper


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



1 comment
Comment actions Permalink


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:

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


Please sign in to leave a comment.