LINQ and Parameterized Queries
-
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.
-
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.
astanton1978 wrote:
Does anyone know if LINQ uses parameterized queries when working with SQL?
They do indeed.
Deja View - the feeling that you've seen this post before.
-
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.
-
Hi, LINQ uses parametrized queries with SQL. Please refer to the following links: LINK 1[^] LINK 2[^] I hope this should be helpful.
John Adams ComponentOne LLC. www.componentone.com
Brilliant, thank you both.