Watch SQL being executed?

Jul 31, 2013 at 6: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 6: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 10:18 PM

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