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
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.