怎样给类添加日期时间属性
ziqi 2020-1-15 9:39
老师,您课上演示画类图时,似乎日期时间属性是直接敲进去的,我自己试了一下发现下拉框里是没有,有没有办法让下拉框里可以选?
UMLChina潘加宇
是敲进去的,因为设置里面缺省设置类的实现语言为C#,EA针对C#的基本类型没有提供日期时间类型。不过可以自己设置。
Configure > Reference Data > Settings > Code Engineering Datatypes

在Product Name栏选择你需要修改的语言,然后New。

这时就可以在属性类型的下拉框里选了。
