Glimpse/Glimpse — pull request #141 by stevenlauwers22 (2011-11-16 12:07:56+00:00)
Title: Add NHibernate profile

Hey guys,

I've added a first version of the nhibernate profiler.

Things changed:
- added project Glimpse.Ado, containing all of the core SQL stuff, i.e. the GlimpseProfileDb* classes, the SQL plugin, provider stats, ...
- removed the common ADO stuff from the EF plugin and use the ones from the Glimpse.Ado package
- added project Glimpse.Nh, which contains the GlimpseProfileDbDriver that will be injected into nhibernate to register all executed commands with the provider stats
- added project Glimpse.Sample.Nh, which is a slightly modified version of NerdDinner for Nhibernate (http://www.hanselman.com/blog/ExtendingNerdDinnerExploringDifferentDatabaseOptions.aspx)
- introduced the concept of an IGlimpseService

Todo:
- inject the GlimpseProfileDbDriver automatically into nhibernate, currently is has to be registered in the NH-config
- remove the reference to nhibernate from the Glimpse.NH project (if possible)
- unit tests, unit tests, unit tests

Cheers,

Steven