I want to see SQL request generated by LINQ. I've seen that some people use a "datacontext.Log = Console.Output", but I don't have a .Log on my datacontext.
So, how to do this? For me if there is an equivalent to Console.Output, it resolves my problem
(I'm using entity framework 4.0 and POCO object).
Thank you for the help