Serializing a dataTable using protobuf
C#, How can I use ProtoBuf .NET开发者_StackOverflow to serialize a dataTable? Can I please have an example?
How about an entire blog entry?
http://marcgravell.blogspot.com/2010/10/datatable-life-in-old-beast.html
Notes:
- this requires v2 (available in the trunk, but still a work-in-progress)
- this requires an additional utility dll (again, in the trunk)
All the code to show how to get this working is in the project in the trunk.
http://code.google.com/p/protobuf-net/source/browse/trunk/DataTableSerializer
https://github.com/rdingwall/protobuf-net-data
I have released Marc's original code as a library on NuGet, extended with a few more features added.
精彩评论