如何显示 Visio 数据库图表中视图之间的关系?

发布于 2024-08-02 04:04:44 字数 303 浏览 5 评论 0原文

我正在为我们的主 Web 应用程序的数据访问层使用一组视图,并且需要记录这些视图。 从逻辑上讲,视图镜像基础表,这意味着它们与表具有相似的关系。 (这有点复杂,因为视图从 3 个数据库中提取数据...)

所以我打开 Visio 并将有问题的视图逆向工程到图表中,但现在的问题是 Visio 不允许我添加关系意见。

有没有办法绕过这个限制,以便我可以对这些视图进行建模,就好像它们实际上是表一样?

或者是否有一种简单的方法可以将每个视图“转换”为表格? (我可以手动完成,但是对于所有属性来说,输入大量无聊的内容......)

I'm using a set of views for the data access layer of our primary web application, and need to document these views. Logically the views mirror the underlying tables, meaning they have similar relationships to the tables. (It's a bit more complex, since the views are pulling data from 3 databases...)

So I opened up Visio and reverse engineered the views in question into the diagram, but the problem now is that Visio won't let me add relationships to views.

Is there any way around that limitation so that I can model these views as if they were actually tables?

Or is there an easy way to "convert" each view to a table? (I could do it manually, but that's a lot of boring typing for all the properties...)

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

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

发布评论

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

评论(1

夏夜暖风 2024-08-09 04:04:44

你在这方面成功了吗? 我需要根据相关视图来记录数据层,但除了与关系相关的问题之外,还有另一个问题:刷新模型时,图纸中的表格会很好地更新,但所有已处理的视图都会从图纸中消失。 模型已更新,即如果我将视图拖回到画布上,内容就会更新。 但我仍然不想在每次对数据库进行小更新时重建整个图片......

Have you succeeded in this? I need to document data layer based on related views, but in addition to the problem related to relations there is another one: when model is refreshed the tables in the drawings update nicely but all chenged views disappear from the drawing. The model is updated, i.e. if I drag the views back on canvas the content is updated. But still I don't want to rebuild the whole picture every time a small update is done on the DB...

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