What do you want to see?You can use Statistics for this. On Thu, Nov 20, 2008 at 3:34 AM, gatapia <[EMAIL PROTECTED]> wrote:
> > Hi All, > > I was just wondering if I can intercept hits to the database? > > Basically I want to log how many times an asp.net request hits the > database. > > I had a quick look at the source code and it looks like > Batcher.LogCommand does exactly what I want but it is not > intercepteable (no hooks). I've also looked at IInterceptor but I > think this is at a higher level and does not differentiate between > cache hits and DB hits. > > I really just want to listen to queries not updates/inserts/deletes as > these are not really optimiseable in this application. > > Any help is appreciated. > > Thanks > > Guido Tapia > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nhusers?hl=en -~----------~----~----~----~------~----~------~--~---
