Quantcast
Channel: Ashish Khandelwal
Viewing all articles
Browse latest Browse all 100

Trace SQL commands generated by LINQ to SQL provider

$
0
0
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 all articles
Browse latest Browse all 100

Trending Articles