What's the best way to detect changed records by other users
Posted: Wed 04 Mar 2009 15:23
Hello,
I'm looking for use UniDac with new application that will work in different databases mainly, Sql server & Mysql but more will be add later.
I'm looking for best way how to detect the changed record from other users, for example if Both A & B open the same records and modify it, then B commit it's modification to the server, what happen if A try to commit his modification now?, is there any thing in UniDac to handle it? and what's the best way to do that?
one of solution I'm thinking about to use timestamps and then compare between the values before commit, but not sure if there are any better ways that will work smoothly with different databases.
Thanks
I'm looking for use UniDac with new application that will work in different databases mainly, Sql server & Mysql but more will be add later.
I'm looking for best way how to detect the changed record from other users, for example if Both A & B open the same records and modify it, then B commit it's modification to the server, what happen if A try to commit his modification now?, is there any thing in UniDac to handle it? and what's the best way to do that?
one of solution I'm thinking about to use timestamps and then compare between the values before commit, but not sure if there are any better ways that will work smoothly with different databases.
Thanks