Kevin Yu [MSFT]- How to include public properties in a typed dataset in serialization?

M

Michael

The public properties are not related to the typed dataset but defined in
the typed dataset class. Although the typed dataset class is marked
<serializable()>, these public properties are ignored when the class is
serialized. This does not seem to be right.

Kevin's reply indicated that dataset serialization is based on the xsd,
means that it ignors the public properties which are defined in the partial
class. This appears to contradict the basic serialization rule from .NET -
public property of a serializable class gets serialized.

It does sound like a BUG.

So what do i need to do in order to serialize these public properties? For
Kevin Yu, please provide a code sample as your pointed direction is just too
vague for me to follow.

Thanks,
Michael
 
K

Kevin Yu [MSFT]

Hi Michael,

Please refer to the original thread. Thanks!

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 

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