powerdesigner9.0 的简单设置问题!!

请问在pd9.0中如何设置才能在code栏中自动加入下划线"_"
例如

name:BOOK SALE
code:BOOK_SALE

在线等待!!
---------------------------------------------------------------

So easy :)

选择菜单项tools-》model options或在工作区点鼠标右键选model options
选Category中底naming convention
选择Enable name/code conversions
在name to code的conversions script中添加如下脚本即可

.foreach_part(%Name%)
.convert_name(%CurrentPart%)
.next("_")

Published At
Categories with 数据库类
comments powered by Disqus