Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. LINQ
  4. LINQ and Parameterized Queries

LINQ and Parameterized Queries

Scheduled Pinned Locked Moved LINQ
databasecsharplinqsysadmintutorial
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    astanton1978
    wrote on last edited by
    #1

    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.

    P J 2 Replies Last reply
    0
    • A astanton1978

      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.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      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.

      My blog | My articles

      1 Reply Last reply
      0
      • A astanton1978

        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.

        J Offline
        J Offline
        John Ad
        wrote on last edited by
        #3

        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

        A 1 Reply Last reply
        0
        • J John Ad

          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

          A Offline
          A Offline
          astanton1978
          wrote on last edited by
          #4

          Brilliant, thank you both.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups