C
Coaster
I've been tooling around with dataset merge to create a sync between 2
databases, lets call them A and B and I'm trying to sync A into B.
On the first round B is empty and B.Merge(A) results in B getting all 100
rows from A. All rows have rowstate unchanged which I would think they would
all be in the new state. From this GetChanges returns Null.
Just to make sure everytinhg works ok I force loaded all 100 rows into B and
tried this test again. I made 1 row change to A before the merge and as a
result GetChanges after B.Merge(A) does return that 1 row. I'm just confused
on why the first round results in no changes. Can someone enlighten me?
thank you.
databases, lets call them A and B and I'm trying to sync A into B.
On the first round B is empty and B.Merge(A) results in B getting all 100
rows from A. All rows have rowstate unchanged which I would think they would
all be in the new state. From this GetChanges returns Null.
Just to make sure everytinhg works ok I force loaded all 100 rows into B and
tried this test again. I made 1 row change to A before the merge and as a
result GetChanges after B.Merge(A) does return that 1 row. I'm just confused
on why the first round results in no changes. Can someone enlighten me?
thank you.