B
bbrewder
I would like to create a way for an occassionally connected user to
cache some data from the database on their machine, disconnect, edit
it (possibly multiple times between machine power-offs), and then save
the data back to the database when they reconnect.
I plan on using DataSets to store the data in-process and am hoping to
be able to cache/reload not only the data, but also the entire schema.
The joins, constraints, etc are important to my application and will
be partially based on the database schema, so will be difficult to
rebuild in code.
I've looked a little bit at the DataSet.WriteXml and DataSet.ReadXml
methods but have not tried them yet (I've noticed in the documentation
that the ReadXml is not intended to be used "directly from your
code"). I am hoping to get some suggestions from others that have
already worked on this or similar problems.
thanks,
Brian Brewder
cache some data from the database on their machine, disconnect, edit
it (possibly multiple times between machine power-offs), and then save
the data back to the database when they reconnect.
I plan on using DataSets to store the data in-process and am hoping to
be able to cache/reload not only the data, but also the entire schema.
The joins, constraints, etc are important to my application and will
be partially based on the database schema, so will be difficult to
rebuild in code.
I've looked a little bit at the DataSet.WriteXml and DataSet.ReadXml
methods but have not tried them yet (I've noticed in the documentation
that the ReadXml is not intended to be used "directly from your
code"). I am hoping to get some suggestions from others that have
already worked on this or similar problems.
thanks,
Brian Brewder