使用 protobuf 序列化 dataTable
C#,如何使用 ProtoBuf .NET 序列化数据表? 我可以举个例子吗?
C#, How can I use ProtoBuf .NET to serialize a dataTable?
Can I please have an example?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
整个博客条目怎么样?
http://marcgravell.blogspot.com/2010/10 /datatable-life-in-old-beast.html
注意:
这需要一个额外的实用程序 dll(同样 显示如何使其工作的代码位于主干的项目中。
http://code.google.com/p/protobuf-net /source/browse/trunk/DataTableSerializer
How about an entire blog entry?
http://marcgravell.blogspot.com/2010/10/datatable-life-in-old-beast.html
Notes:
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
我已经发布了 Marc 的原始代码作为 NuGet 上的库,经过扩展并添加了更多功能。
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.