powerdisinger 将name复制到comment
来源:互联网 发布:理解linux内核 编辑:程序博客网 时间:2024/05/19 04:29
1、选择tools-->execute commands-->edit/run script
2、将下面的代码粘贴到运行框中点击run即可
Option Explicit
ValidationMode = True
InteractiveMode = im_Batch
Dim mdl ' the current model
' get the current active model
Set mdl = ActiveModel
If (mdl Is Nothing) Then
MsgBox "There is no current Model"
ElseIf Not mdl.IsKindOf(PdPDM.cls_Model) Then
MsgBox "The current model is not an Physical Data model."
Else
ProcessFolder mdl
End If
' This routine copy name into code for each table, each column and each view
' of the current folder
Private sub ProcessFolder(folder)
Dim Tab 'running table
for each Tab in folder.tables
if not tab.isShortcut then
tab.comment = tab.name
Dim col ' running column
for each col in tab.columns
col.comment= col.name
next
end if
next
Dim view 'running view
for each view in folder.Views
if not view.isShortcut then
view.comment = view.name
end if
next
' go into the sub-packages
Dim f ' running folder
For Each f In folder.Packages
if not f.IsShortcut then
ProcessFolder f
end if
Next
end sub
- powerdisinger 将name复制到comment
- powerdisinger 中将comment复制到name
- 将name的值快速复制到comment中
- PowerDesigner16.5导出SQL语句时如何将name列复制到comment注释里面
- PowerDesigner 把Comment复制到name中和把name复制到Comment
- PowerDesigner 把Comment复制到name中和把name复制到Comment .
- PowerDesigner 把Comment复制到name中和把name复制到Comment
- PowerDesigner 把Comment复制到name中和把name复制到Comment
- PowerDesigner 把Comment复制到name中和把name复制到Comment
- PowerDesigner里面将表中name列值复制到comment列
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- PowerDesigner Comment写到name 和name写到Comment
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- powerdesigner comment 写到 name 和 name 写到 comment
- PowerDesigner 从数据库反向生成Pdm时把Comment复制到Name中,从PowerDesigner导入数据库时把Name复制到Comment
- PowerDesigner comment与name相互复制
- PowerDesigner--comment和name互相复制
- iPhone开发常用小技巧
- 基于IPSec的VPN技术原理与实现
- 最小路径覆盖
- Android 动画
- usaco Cow Tours
- powerdisinger 将name复制到comment
- CI-Based Web Service Error:UserName not defined in database
- 一篇不错的关于VSS的入门介绍
- 转贴:使用GetDIBts/SetDIBits高速逐点处理
- Lucene学习笔记(4)-检索功能
- JDK1.5中的线程池(java.util.concurrent.ThreadPoolExecutor)使用简介
- 点击链接,弹出最大化窗口或者水平和垂直方向都居中的小窗口
- 位域
- 安卓实现拍照、在手机中选择图片通过webservice上传图片到服务器