Wednesday, February 17, 2010

Linq to SQL GetCommand for diagnostics and auditing

To be completed when I [don't] have the time...

The point is, the DataContext.GetCommand' function accepts an IQueryable parameter and returns more ADO.NET style command information.

I was looking for something like this a while ago whilest attempting to audit and inject into the SQL that Linq executes against SQL Server, eventually giving up to the feeling that I had failed miserably at proper google searching.

So this has some potential to that, I'll have to look into it further when I'm not under 'release' mentality.

No comments:

Post a Comment