赞
踩
Was just wondering if there was any software out there to do this? The storage engine is InnoDB so the foreign keys are in place to connect the tables up in the diagram (if such software even exists).
解决方案
You can generate a data model from the data table that shows foreign key constraints using Enterprise Architect.
That gives you a data model in a UML tool that you can easily trace to other UML artifacts. It does not auto-create a class model from the data tables however. It is not best practice to have your class model directly mirror your data model, but this would give you a good head start.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。