I'm building up a query using LINQ to SQL and C# and when I inspect the final T-SQL that is built the where clause looks like this:
WHERE ([t0].[T_SUBJECT] LIKE @p0) AND ([t0].[T_SUBJECT] LIKE @p1)
The structure of the T-SQL looks correct and I can test it using SQL Server Management Studio (SSMS) but in the code it's not working. I'd like to be able to take a look at the values for @p0 and @p1. Anyone know how to inspect these values using VS2008?