以文本方式查看主题

-  蓝色快车PB俱乐部论坛  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspindex.asp)
--  PowerDesigner  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspbbs.asp?boardid=6)
----  这样的包含关系在powerdesigner如何做?  (http://pb.besoft.com.cnhttp://pb.besoft.com.cn/bbs/index.aspdispbbs.asp?boardid=6&rootid=4668&id=4668)


--  作者:sunsnow8
--  发布时间:2007/6/1 10:38:19

--  这样的包含关系在powerdesigner如何做?
我设计的数据库的每个表都需要有如下字段:
id bigint NOT NULL auto_increment,
position int not null default 99,
description varchar(50),  
updated_at datetime default NULL,
created_at datetime default NULL

我想把上面的字段设置成一个实体,然后每个表都来包含这些字段,这样在powerdesigner里面可以吗,用什么关系来表达呢?谢谢


--  作者:vicoxia
--  发布时间:2007/6/6 9:21:51

--  
把这些字段定义成domain,然后在新建表的字段的时候,选择相应的domain就可以了。 关于domain的功用和解释请参考PD Help.

">