Complicated Merge Question, PLEASE HELP!

J

Juan M. Cervera

Hi everybody,
I am trying to do something that maybe a little difficoult to solve.
I have a dataset with several datatables loaded initially from the database.
I want to go to the database and load more rows in them, with the Merge
method, for loading the dataset incrementally, when the client needs them.
I use the PreserveChange parameter = true, to preserve the changes made in
the dataset before.
My problem is that I don´t want that the new rows to merge alter the
modified state of the dataset.
The new rows must not represent row changes for the the dataset.
If the HasChanges method of the dataset is false before the Merge, it must
be false after it..
If the HasChanges method of the dataset is true before the Merge, it must
be true after it, but only for the old rows that has changes already.
I can´t make a call to the AcceptChanges methos of the dataset after the
merge because then I loose the true changes that I made manually to the
dataset.

Thanks in advance.

Juan M. Cervera
Dijkstra Consulting, S.L.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top