G
Guest
Hi,
I was wondering how it is possible to manage optimistic concurrency in XML
files.
Indeed, i store my data in xml files in an asp.net application.
My data access layers accepts custom entities, and then uses
dataset.WriteXml() to write the new data.
The problem is that this way of doing erases all file content, and writes
the content of the dataset.
If a user wrote his changes just before we write ours his changes are lost.
Is there a simple way to manage optimistic concurrency, like what we can do
with a DataAdpter with SQL databases?
Thanks a lot for your help
PS: I use .net v1.1
I was wondering how it is possible to manage optimistic concurrency in XML
files.
Indeed, i store my data in xml files in an asp.net application.
My data access layers accepts custom entities, and then uses
dataset.WriteXml() to write the new data.
The problem is that this way of doing erases all file content, and writes
the content of the dataset.
If a user wrote his changes just before we write ours his changes are lost.
Is there a simple way to manage optimistic concurrency, like what we can do
with a DataAdpter with SQL databases?
Thanks a lot for your help
PS: I use .net v1.1