1.参考C#代码 using Help.DBAccessLayer.Business; using Help.DBAccessLayer.Model.SqlGenerator; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Text; using Syst
只说原理了,具体 可以自己使用程序去生成htm或word文档. 1.首先获取所有的表 SELECT name, id From sysobjects WHERE xtype = 'u' ORDER BY name ASC 2.根据表名查询字段信息 select syscolumns.name, syscolumns.length, systypes.name as typename, sys.extended_properties.[value] AS tname,syscolumns.
如何使用“mysql导出数据库结构为world工具”以及如何使用powerdesigner映射数据库模型 一.通过powerdesigner配置ojdbc 1.安装并打开powerdesigner,新建一个模型文档,如下图 2.选择“database” -> “update model from database” 3.弹出窗口后选择“using a data cource”,点击右侧图标 4.选择“configure…” 5.选择图标 6.选择“用户数据源(只适用于当前机器)”à “下一步”