Click here to Skip to main content
14,869,731 members
Please Sign up or sign in to vote.
3.23/5 (6 votes)
Does anyone know if LINQ uses parameterized queries when working with SQL? I can find no documentation from MS about it (as of last week), and I need to figure out how to see if query plans from LINQ are getting cached on the server properly.
Posted

astanton1978 wrote:
Does anyone know if LINQ uses parameterized queries when working with SQL?



They do indeed.

   
Hi,

LINQ uses parametrized queries with SQL. Please refer to the following links:

LINK 1[^]

LINK 2[^]

I hope this should be helpful.

   



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900