Watch SQL being executed?

Jul 31, 2013 at 7:00 PM
Hi there,

Is there a way to view the SQL being executed by OpenNETCF.ORM (the generated SELECT/INSERT/UPDATE/DELETE statements)? This was very useful when I used NHibernate for web applications for troubleshooting query performance.

I really like this library :-)
  • David
Jul 31, 2013 at 7:02 PM
I guess it depends on the baking store. For SQLCE, for example, ORM uses as few SQL statements as possible, so often there's no SQL to emit (it uses table direct instead). I may be able to add a capability for showing it when available, though.
Aug 1, 2013 at 11:18 PM

Is just the info coming out the Debug port enough, or are you looking for something more formal like a library callback?