How do I correctly profile Entity Framework?

前端 未结 4 2128
我寻月下人不归
我寻月下人不归 2020-12-25 13:09

What is the minimal amount of code I can write to get a single callback from EF 4.1 that provides the following:

  • OnSQLExecuted(DbCommand cmd, DateTime s
4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-25 13:57

    While it's a commercial product I would also strongly recommend looking at EF Prof. This tool has been developed by Ayende (Oren Eini spelling?) who has also made NH Prof, Uber Prof (NH + EF Prof) and RavenDB among other products.

    Having purchased his NH Prof, when tuning NH it was invaluable and I would expect EF Prof would be just as valuable respectively.

提交回复
热议问题