Hello,
I would like to view the generated SQL of LINQ statements. I found the following example at http://jagchat.spaces.live.com/blog/cns!41050F68F010A662!1224.entry?wa=wsignin1.0&sa=222439930, but that's for LINQ to SQL.
Dim obj As New SampleDAL.SampleDataContext
Dim s As New StringWriter
obj.Log = s
Me.GridView1.DataSource = From p In obj.emps _
Where p.deptno = 10 _
Select p
Me.GridView1.DataBind()
Me.Label1.Text = s.ToString
How can this be done Using LINQ to LLBLGen?