如何映射数据库?

发布于 2024-11-28 20:30:10 字数 263 浏览 5 评论 0原文

我通过 sqlmetal 工具创建了一个 *.dbml 文件,其中包含我的数据库 (MSSQL) 的图表。但是,我的数据库有 266 个表,如果我在 VS2008 中打开该文件并通过 PDF 导出它,我会得到一个糟糕的文档。打开该文件时VS2010将挂起。我需要映射这个数据库,因为我需要创建一个可以使用它的外部工具。 是否有一些常规方法来了解如何创建该数据库?我需要知道这些表如何连接在一起(关系),以便创建一个可以从中提取数据的工具。 或者,是否有其他工具可以读取 dbml 文件并可视化这些表之间的关系?

I've created a *.dbml file through sqlmetal tool, which contains a diagram of my database (MSSQL). But, my database has 266 tables and if I open that file in VS2008 and export it via PDF, I've got a terrible document. VS2010 will hung up when opening that file. I need to map this database because I need to create an external tool which will work with it.
Is there some conventional approach to learn how this database is created ? I need to know how are the tables connected together (relations) in order to create a tool which will extract data from them.
Or, Is there some other tool which can read dbml files and visualize relations between those tables ?

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

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

发布评论

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

评论(1

允世 2024-12-05 20:30:10

过一遍 dbml 可能不是一个好主意。建议:

  1. 使用 Visio 进行逆向工程。
  2. 使用 Sql Management Studio 中提供的 Sql Server 图表工具。
  3. 针对数据库运行 dbdesc

Going over dbml is probably a bad idea. Suggestions:

  1. Reverse engineer using Visio.
  2. Use the Sql Server diagramming tool, available in Sql Management Studio.
  3. Run dbdesc against the database.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文