Is it possible to extract sql statements from LINQ queries ?
Say, I have this LINQ expression.
string[] names = ne
A easier method I found was to use the Command Window and you did not need to input any additional code. Here you can print a linq statement called query to the query window:
? ((System.Data.Objects.ObjectQuery) query).ToTraceString()