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. Design and Architecture
  4. Managing concurrency in Linq/SQL

Managing concurrency in Linq/SQL

Scheduled Pinned Locked Moved Design and Architecture
csharpasp-netdatabaselinqsysadmin
23 Posts 5 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.
  • M Mycroft Holmes

    Please be very sure this is a real use case, it is often identified as a problem by management or an inexperienced developer as something that can/might happen but they have no real idea if the application requires this level of engineering.

    Never underestimate the power of human stupidity RAH

    R Offline
    R Offline
    R1911
    wrote on last edited by
    #21

    Sure. thanks. I'll try to share a pic of what I originally thought.

    1 Reply Last reply
    0
    • L Lost User

      R1911 wrote:

      Mate, please don't mistake. But I'm not sure why your replies are consistently sarcastic.

      They're not meant to be sarcastic, but I can see how they could come across like that. Someone could have deleted the record you tried to update. How should the computer recover from that automagically, without resorting to assumptions about one of the two conflicting updates? How DO you update a record that no longer exists? Depending on what you are doing, there should be *very little* chance ever for two users simultaneous working on the same recordset. A neat solution I've seen would open the forms in read-only mode when someone else was working on that record, including the time they opened it "for editing".

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

      R Offline
      R Offline
      R1911
      wrote on last edited by
      #22

      Got it. :thumbsup: thanks! And excuse the misread. :)

      L 1 Reply Last reply
      0
      • R R1911

        Got it. :thumbsup: thanks! And excuse the misread. :)

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #23

        You're welcome, and no problem; I know I'm not good with humans :D

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

        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