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

  • Thread starter Thread starter Michael
  • Start date Start date
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
 
Hi Michael,

Please refer to the original thread. Thanks!

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