I have a fairly simple LINQ query (using method syntax):
_context.Foo.Count(c => c.Bar > 123);
I need to see the SQL that will run against the database. I'm not using SQL Server, so I unfortunately can't use the SQL Server Profiler.
I'm unable to use query syntax in this case.
Is there any sort of .ToQueryString(); method?