PowerDesigner Comment与name的相互装换
来源:互联网 发布:一朝金榜天下知 编辑:程序博客网 时间:2024/06/03 23:15
效果
在PowerDesigner中使用方法为:
PowerDesigner->Tools->Execute Commands->Edit/Run Scripts
把脚本拷贝(VB脚本)到文本框内执行即可,执行完后无提示,需要点击查看。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 comment 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
阅读全文
0 0
- PowerDesigner Comment与name的相互装换
- PowerDesigner comment与name相互复制
- PowerDesigner Comment和name相互转化
- PowerDesigner 将Comment与Name内容互换
- PD设置name与comment的相互复制
- PD设置name与comment的相互复制
- PowerDesigner表的name和comment互转
- PowerDesigner 的mysql PDM 的COMMENT注释改为name+comment
- 将列的Name换为Comment
- PowerDesigner 中Comment与name内容互换COPY
- PowerDesigner中name与comment互相转换脚本
- PowerDesigner 赋值comment为name
- PowerDesigner中Name的值赋给Comment
- PowerDesigner中NAME和COMMENT的互相转换
- PowerDesigner中NAME和COMMENT的互相转换
- PowerDesigner Comment To Name & Name To Comment VBS
- PowerDesigner 同步Name到Comment 及 同步 Comment 到Name
- PowerDesigner Comment写到name 和name写到Comment
- 日志收集中间件比较
- 【Spring笔记】3. XML自动装配、关系等细节
- Android图表库MPAndroidChart(三)——双重轴线形图的实现,这次就so easy了
- APP Store 审核十大常见被拒原因(内附-人机页面准则)
- cleanmymac快速清理Mac系统垃圾文件
- PowerDesigner Comment与name的相互装换
- (一)由浅入深学习springboot中使用redis
- Java 内存溢出(java.lang.OutOfMemoryError)的常见情况和处理方式总结
- crossdomain.xml
- UE4实现录音
- 关于android应用中的签名验证的查找过程
- MongoDB数据建模小案例:多列数据结构
- 什么是CONTAINERD?
- 十大滤波算法总结