哪个工具可以通过SQL生成UML?

发布于 2024-08-22 20:55:05 字数 1539 浏览 8 评论 0原文

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

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

发布评论

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

评论(6

怀念你的温柔 2024-08-29 20:55:06

SQL 语法由

  • 数据操作语言 (DML) select、insert、update..
  • 数据定义语言 (DDL) 创建表、..
  • 数据控制语言 (DCL) grant、revoke

提供。您可以映射到 UML 最接近的东西是表类(DDL)。

Visual Paradigm 以及其他 UML 工具提供现有数据库模式的逆向工程

SQL-Syntax is provided by

  • Data Manipulation Language (DML) select,insert,update..
  • Data Definition Language (DDL) create table,..
  • Data Control Language (DCL) grant,revoke

The closest thing you can map to UML are tables to classes (DDL).

Visual Paradigm among other UML tools offers reverse engineering of existing database schema

无力看清 2024-08-29 20:55:06

如果您只需要数据库结构图(实体关系图),Visio 有一个很好的方法来连接到数据库并从架构生成 ERD。如果您正在寻找类图,您可以使用 Visual Studio 2010 从数据库创建实体框架对象,并为您提供几种不同的方式来表示它们(在实体框架 GUI 设计器中,或者通过从生成的类。

If you just need database structure diagrams (entity relationship diagrams), Visio has a nice way to connect to a database and generate an ERD from the schema. If you are looking for a class diagram, you can use Visual Studio 2010 to create entity framework objects from a database and will give you a few different ways to represent them (either in the entity framework GUI designer, or by creating a class diagram from the generated classes.

动听の歌 2024-08-29 20:55:06

一个技巧是从数据库生成 java 代码,然后在 UML 工具中反转该代码。一个好的 Eclipse 项目是 Dali,它可以在您的代码中生成带注释的代码(例如 @Entity)。

A trick is to generate a java code from your database then to reverse the code within an UML tool. A good Eclipse project is Dali which can generate an annoted code (e.g. @Entity) in your code.

黯然#的苍凉 2024-08-29 20:55:06

SQL 图工具不是 UML 工具,而是数据库建模器! UML 需要与关系数据库的对象映射。

The SQL diagram tool is not an UML tool but a database modeler !! UML requires object mapping with relational database.

情愿 2024-08-29 20:55:06

如果您有 IBM Rational Rose 软件,它不是免费软件,但它是 UML 到 SQL 数据库的最佳软件工程工具。它做了很多有趣的事情,所以尝试在 IBM Rational Rose 上工作。

您可以从 下载 - Rational Rose 下载

If you have a IBM rational rose software is not freeware but this is the best software engineering tools for UML to SQL database. It does so many interesting things so try to work on IBM rational rose.

That you can download from Download - Rational Rose

梨涡 2024-08-29 20:55:06

Sybase 的 PowerDesigner 允许您从脚本(所谓的物理模型)反转数据库,然后将其转换为另一个包括 UML 对象模型的图表

PowerDesigner by Sybase allows you reverse DB from script (so called Physical model) and after all convert it to another diagram including UML object model

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