Quantcast
Viewing latest article 41
Browse Latest Browse All 100

Trace SQL commands generated by LINQ to SQL provider

There are three ways that frequently used to trace the SQL commands which are generated by LINQ to SQL provider: DataContext.Log DataContext.GetCommand, and LINQ to SQL Debug Visualizer. Trace SQL command using DataContext.Log This sentence of codes can make the generated SQL display in the console window. The SQL can be query, insert, update and [...]

Viewing latest article 41
Browse Latest Browse All 100

Trending Articles