Multiple users access/mod data

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • fortra

    #1

    Multiple users access/mod data

    I've been wondering:

    Since ADO.NET is a disconnected data model, how do I
    managed concurrent users accessing and modifying the same
    table? Lets say I have one record with a field
    named "foo". two users both pull in that field with their
    client app into dataset to modify. If user 1 pulls the
    record first, how does ADO.NET allow that record to be
    locked at the database so that user 2 can't update it?

    Or both pull in an exact same record set. Then both
    modify the data, but with different values within each's
    respective DataSet? How is this managed to prevent data
    corruption?
Working...