修改PD的OOM生成脚本
2015-07-27 20:51
309 查看
修改内容如下
C# 2::Profile\Attribute\Templates\definition | \n .if (%isGenerated%) and (%isValidAttribute%) /// <summary>\n .if (%Comment% == "") ///\n .else %comment%\n .endif /// </summary> [%oidDocTag%\n] .if(%customAttributes% != "") [%customAttributes%]\n .endif \[Display(Name = "%Name%")\]\n .if (%Multiple% == false) and (%isIndexer% == false) public [%flags% ]%dataType% %fieldCode%[ = %InitialValue%] { get; set; } .else public [%flags% ]%dataType%[%arraySize%] %fieldCode%[ = %InitialValue%] { get; set; } .endif .endif |
C# 2::Profile\Class\Templates\definition | /// <summary>\n .if (%Comment% == "") ///\n .else %comment%\n .endif /// </summary> [%oidDocTag%\n]\ [%classProperties%\n]\ \[Table("%Code%")\] public [%flags% ][%isPartialType%?partial ]class %Code%[%genericTypeParameters%][ : %inheritanceList%][ %genericTypeConstraints%] { [\ %members%\n ]\ [\ %innerClasses%\n ]\ [\ %innerInterfaces%\n ]\ } |
C# 2::Profile\Classifier\Templates\usings | .unique using System; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema;\n .if (%isWebServiceClass%) using System.Web; using System.Web.Services; .endif(\n) [%Imports%\n] .endunique |
C# 2::Profile\Class\Criteria\Enum\Templates\definition | .foreach_item(Attributes) \n /// <summary>\n .if (%Comment% == "") ///\n .else %comment%\n .endif /// </summary> [%oidDocTag%\n] .if(%customAttributes% != "") [%customAttributes%]\n .endif \[Display(Name = "%Name%")\] [%definition%] .next(,\n) |
相关文章推荐
- PowerDesigner 面向对象模型(OOM)说明
- 如何在POWERDESIGNER中将备注产生到数据库中
- PowerDesigner连接MySQL,建立逆向工程图解
- PD正向工程(OOM——>CDM——>PDM)
- UML建模工具Rose与PowerDesigner,两款建模工具的对比
- UML建模工具Rose与PowerDesigner,两款建模工具的对比
- PowerDesigner导出SQL时自动生成注释
- PowerDesigner从DB2生成物理模型
- PowerDesigner(PowerDesigner15.1.0.2850)下载、安装以及破解
- Unable to list the columns. [Microsoft][ODBC SQL Server Driver][SQL Server]无法预定义语句。
- PowerDesigner 15.1逆向工程MySQL
- 【福利来了】!!出售囤积的书
- PowerDesigner逆向工程(Mysql )
- 二次安装 清除CodeSmith 相关问题
- PowerDesigner15生成数据库表
- 由一个问题引发的思考——关于数据库的外键约束
- PowerDesigner的Pallete如何设置
- PowerDesigner设置Table的默认属性值
- PowerDesigner中如何生成主键和自增列--SQL SERVER版本
- powerdesigner 16.5 视图的显示