如何从 M 文档创建 XSD 文件?

发布于 2024-09-01 23:47:11 字数 175 浏览 1 评论 0原文

有谁知道一种好方法:

  1. 从 SQL Server 建模框架模型生成 XSD 文档,
  2. 使用该模型使用符合规范的 XML 文档,并直接添加到从该模型创建的数据库中?

我从当前的文档中看不到任何明显的方法,但我是新人,所以我可能错过了一些东西。

谢谢。

Does anyone know of a nice way to:

  1. produce XSD documents from an SQL Server Modeling Framework model
  2. consume conformant XML documents using that model and add directly into the DB created from the model?

I can't see any obvious way from the current documentation, but I'm a newcomer, so I may have missed something.

Thanks.

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

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

发布评论

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

评论(1

白云悠悠 2024-09-08 23:47:11

那太好了。我已经问过几次了。
但 xml 支持似乎不在范围内,至少现在还没有。

M 的大部分(模式部分)可以轻松地来回转换为 xsd。这也将为我们提供管理实例数据和模式的整个 xml 工具链。

这里有一些关于该主题的论坛帖子和博客文章:

希望有所帮助。

-拉尔斯

that would be great. I have asked for it a couple of times.
But it seems that xml-support is not in scope, not yet at least.

Most of M (the schema part) could easily translate forth and back to xsd. That would also give us the whole toolchain of xml to manage instance data and schema.

Here some forum posts and blog entries about that topic:

hope that helps.

-Lars

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