使用 protobuf 序列化 dataTable

发布于 2024-10-06 06:17:37 字数 46 浏览 0 评论 0原文

C#,如何使用 ProtoBuf .NET 序列化数据表? 我可以举个例子吗?

C#, How can I use ProtoBuf .NET to serialize a dataTable?
Can I please have an example?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

划一舟意中人 2024-10-13 06:17:37

整个博客条目怎么样?

http://marcgravell.blogspot.com/2010/10 /datatable-life-in-old-beast.html

注意:

  • 这需要 v2(在主干中可用,但仍在进行中)
  • 在主干中)

这需要一个额外的实用程序 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:

  • 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

你对谁都笑 2024-10-13 06:17:37

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文