How would i know the SQL statement generated by my Linq to sql query?
Use LINQ to SQL Debugger Visualizer.
Alternatively, you can set dataContext.Log property to Console.Out or something and the SQL statement, along with actual parameter values will be written out to that stream.
dataContext.Log
Console.Out