Home All Groups Group Topic Archive Search About

DataSet lost row in serialization

Author
14 Jan 2005 1:37 PM
Mauricio Pires
I created 2 programs. One is a service and the other is a windows form
client. The 2 programas comunicate by remoting.
The client program creates a dataset with 2 tables (parent and child
tables),   adds some rows in these tables and calls a Service's method
passing the dataset as a parameter.
Before to call the Sevice's method I put a break point at the client
application and  checked that the child table had 2 rows (Count=2) . At the
begnning of the Service's method I put another break point and I saw that now
the child table had 0 rows (Count=0).
What's wrong. I think there is a problem with serialization.

Author
17 Jan 2005 11:25 AM
Mauricio Pires
Actually I have a dataset with 2 tables (father and child table) and a
relation between them with cascade for update and delete. I also have a
client application and a remote application.
If  the client application delete a existing father's row and afterwards
create the same father's row (same field values) and a child row and call a
remote application' method by remoting, you will see that there is no child
row in dataset at the remote application's method.
I think serialization lost the child row.

Can someone help me?

AddThis Social Bookmark Button