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. C#
  4. dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed

dataContext.storedProcedure(params).Skip(4).Take(3) - where is it executed

Scheduled Pinned Locked Moved C#
databasecsharplinqhelpquestion
5 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.
  • S Offline
    S Offline
    Seishin
    wrote on last edited by
    #1

    Hi! let's assume that the sproc returnes 20 rows. well, i know that the sproc is going to be executed on the DB but will Skip and Take do their stuff after the data (20 rows) from the sproc is returned to the application or will linq "do it's magic" and call converted to sql statements Skip and Take on the DB and return only 3 rows to the application? thanks for any help :D

    life is study!!!

    L N 2 Replies Last reply
    0
    • S Seishin

      Hi! let's assume that the sproc returnes 20 rows. well, i know that the sproc is going to be executed on the DB but will Skip and Take do their stuff after the data (20 rows) from the sproc is returned to the application or will linq "do it's magic" and call converted to sql statements Skip and Take on the DB and return only 3 rows to the application? thanks for any help :D

      life is study!!!

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      Seishin# wrote:

      will linq "do it's magic"

      Yes! Exactly! The definition of link in Websters just says "see magic". And if the link magic is not enough it will conjure the C# magic. If that is not enough C# will conjure C++ magic which will conjure C magic if needed which in turn, if needed, will conjure assembly magic. Whew

      led mike

      S 1 Reply Last reply
      0
      • L led mike

        Seishin# wrote:

        will linq "do it's magic"

        Yes! Exactly! The definition of link in Websters just says "see magic". And if the link magic is not enough it will conjure the C# magic. If that is not enough C# will conjure C++ magic which will conjure C magic if needed which in turn, if needed, will conjure assembly magic. Whew

        led mike

        S Offline
        S Offline
        Seishin
        wrote on last edited by
        #3

        c'mon.. I'm asking seriously.. by "do it's magic" I meant convert linq query into sql query, connect do DB, execute the query, return data and so on...

        life is study!!!

        1 Reply Last reply
        0
        • S Seishin

          Hi! let's assume that the sproc returnes 20 rows. well, i know that the sproc is going to be executed on the DB but will Skip and Take do their stuff after the data (20 rows) from the sproc is returned to the application or will linq "do it's magic" and call converted to sql statements Skip and Take on the DB and return only 3 rows to the application? thanks for any help :D

          life is study!!!

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Websters also says "post to linq forum" ;P It depends if it's a delayed query or not. If not, then it is done against and in-memory sequence


          only two letters away from being an asset

          S 1 Reply Last reply
          0
          • N Not Active

            Websters also says "post to linq forum" ;P It depends if it's a delayed query or not. If not, then it is done against and in-memory sequence


            only two letters away from being an asset

            S Offline
            S Offline
            Seishin
            wrote on last edited by
            #5

            ok.. who/what's "Websters"?!.. ou.. i didn't see linq mb.. sorry!!

            life is study!!!

            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