Last night I found this:
Tracing and Caching Provider Wrappers for Entity Framework <http://code.msdn.microsoft.com/EFProviderWrappers> This chap (from Microsoft I think) has written a data provider wrapper which intercepts all ExecuteReader, ExecuteScalar and ExecuteNonQuery calls and traces what's happening. This makes perfect sense, but it's quite heavy handed and I was hoping that there would be a more specific and lightweight place to hook in, either in SQLite or in EF4. If I try this wrapper provider out I'll let you know what happens -- Greg
