>From the message, that *sounds* like protobuf-net... There is no built-in handling of this, but it is possibly something that could be added, especially in "v2" which has a much more flexible model. For example, you *could* argue that there is an implicit schema that uses a repeated element per row, and the column ordinal for a field.
There are a couple of points here thought: - protobuf /normally/ doesn't include schema information; so when deserializing *either* you would have to set up the schema (columns etc) *first* and then use Merge, /or/ I could include schema information as an exception - it would need some thought re the difference between DataSet and DataTable - a data-set has relations etc, which don't necessarily fit very well here I'm interested in your thoughts with this; are you just after something to load/save the data? Or interop with other platforms? And the other important question: /an option/ is to move the data to/from a DTO during serialization; the DTO would serialize fine with protobuf-net. Marc On 15 July 2010 09:43, Ferryandi Chai <[email protected]> wrote: > Hi All, > > Im just wondering can protobuf serialize datatable. > Im a c# developer, and when i tried to serialize datatable it prompt > this error: > > "Only data-contract classes (and lists/arrays of such) can be > processed (error processing DataTable)" > > Tried to google this problem but cannot find solutions. > > > Thx > F! > > -- > You received this message because you are subscribed to the Google Groups > "Protocol Buffers" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<protobuf%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/protobuf?hl=en. > > -- Regards, Marc -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.
