<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0062)http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html -->
<HTML><HEAD id=Head><TITLE>PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META id=metaKeywords content=PowerDesigner教程系列,六,概念数据模型 name=keywords>
<META
content=目标:本文主要介绍联系的定义及使用。一、联系联系(Relationship)是指实体集这间或实体集内部实例之间的连接。实体之间可以通过联系来相互关联。与实体和实体集对应,联系也可以分为联系和联系集,联系集是实体集之间的联系,联系是实体之间的联系,
name=description><LINK id=CommondCss
href="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/common.css"
type=text/css rel=stylesheet><LINK id=MainCss
href="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/style.css"
type=text/css rel=stylesheet><LINK id=CommondCss2
href="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/common2.css"
type=text/css rel=stylesheet><LINK id=RSSLink title=RSS
href="http://www.cnblogs.com/yxonline/rss" type=application/rss+xml
rel=alternate>
<SCRIPT src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/common.js"
type=text/javascript></SCRIPT>
<META content="MSHTML 6.00.2900.3395" name=GENERATOR></HEAD>
<BODY>
<FORM id=Form1 name=Form1 onsubmit="javascript:return WebForm_OnSubmit();"
action=710816.html method=post>
<DIV><INPUT id=__EVENTTARGET type=hidden name=__EVENTTARGET> <INPUT
id=__EVENTARGUMENT type=hidden name=__EVENTARGUMENT> <INPUT
id=" __VIEWSTATE" type=hidden name=__VIEWSTATE> </DIV>
<SCRIPT type=text/javascript>
//<![CDATA[
var theForm = document.forms['Form1'];
if (!theForm) {
theForm = document.Form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</SCRIPT>
<SCRIPT src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/WebResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript>
function ctlent(evt,id)
{
if(evt.ctrlKey && evt.keyCode == 13)
{
try
{
TempSave(id);
}
catch(ex)
{
}
finally
{
__doPostBack('AjaxHolder$PostComment$btnSubmit','')
}
}
}</SCRIPT>
<SCRIPT language=JavaScript>function SetReplyAuhor(author){document.getElementById('AjaxHolder_PostComment_tbComment').value="@"+author+"\n"+document.getElementById('AjaxHolder_PostComment_tbComment').value;document.getElementById('AjaxHolder_PostComment_tbComment').focus();return false}</SCRIPT>
<SCRIPT
src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/ScriptResource.axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="C:\Documents and Settings\Ivy\桌面\powerdesigner教程\PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files\ScriptResource(1).axd"
type=text/javascript></SCRIPT>
<SCRIPT
src="C:\Documents and Settings\Ivy\桌面\powerdesigner教程\PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files\ScriptResource(2).axd"
type=text/javascript></SCRIPT>
<SCRIPT src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/js"
type=text/javascript></SCRIPT>
<SCRIPT type=text/javascript>
//<![CDATA[
function WebForm_OnSubmit() {
if (typeof(ValidatorOnSubmit) == "function" && ValidatorOnSubmit() == false) return false;
return true;
}
//]]>
</SCRIPT>
<TABLE class=Framework cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD colSpan=2>
<DIV id=top>
<TABLE cellSpacing=0 cellPadding=8 width="100%">
<TBODY>
<TR>
<TD noWrap>
<H1><A class=headermaintitle id=Header1_HeaderTitle
href="http://www.cnblogs.com/yxonline/">Kevin
Yin</A></H1></TD></TR></TBODY></TABLE></DIV>
<DIV id=sub>
<DIV class=BlogStats>posts - 11, comments - 160, trackbacks - 24, articles
- 0</DIV></DIV></TD></TR>
<TR>
<TD class=LeftCell>
<DIV id=leftmenu></DIV></TD>
<TD class=MainCell width="100%">
<DIV id=main>
<SCRIPT type=text/javascript>
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('AjaxHolder$scriptmanager1', document.getElementById('Form1'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
</SCRIPT>
<DIV class=post>
<DIV class=posthead>
<H2><A class=singleposttitle id=AjaxHolder_ctl01_TitleUrl
href="http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html">PowerDesigner教程系列(六)概念数据模型</A>
</H2>Posted on 2007-04-12 16:03 <A
href="http://www.cnblogs.com/yxonline/">KevinYin</A> 阅读(14805) <A
href="http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html#Post">评论(32)</A>
<A
href="http://www.cnblogs.com/yxonline/admin/EditPosts.aspx?postid=710816">编辑</A>
<A onclick="PutInWz();return false;"
href="http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html#">收藏</A>
所属分类: <A
href="http://www.cnblogs.com/yxonline/category/89658.html">PowerDesigner</A>
<IMG height=1
src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/710816.jpg"
width=1> <!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
rdf:about="http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html"
dc:identifier="http://www.cnblogs.com/yxonline/archive/2007/04/12/710816.html"
dc:title="PowerDesigner教程系列(六)概念数据模型"
trackback:ping="http://www.cnblogs.com/yxonline/services/trackbacks/710816.aspx" />
</rdf:RDF>
--></DIV>
<DIV class=postbody> <BR><SPAN
style="FONT-SIZE: 10pt">目标:本文主要介绍联系的定义及使用。</SPAN>
<P
style="FONT-SIZE: 10pt"><STRONG> 一、 联系</STRONG><BR>联系(Relationship)是指实体集这间或实体集内部实例之间的连接。<BR><BR> 实体之间可以通过联系来相互关联。与实体和实体集对应,联系也可以分为联系和联系集,联系集是实体集之间的联系,联系是实体之间的联系,联系是具有方向性的。联系和联系集在含义明确的情况之下均可称为联系。<BR><BR> 按照实体类型中实例之间的数量对应关系,通常可将联系分为4类,即一对一(ONE TO
ONE)联系、一对多(ONE TO MANY)联系、多对一(MANY TO ONE)联系和多对多联系(MANY TO MANY)。</P>
<P
style="FONT-SIZE: 10pt"><STRONG> 二、 建立联系</STRONG><BR>在CDM工具选项板中除了公共的工具外,还包括如下图所示的其它对象产生工具。<BR><IMG
src="PowerDesigner教程系列(六)概念数据模型 - Kevin Yin - 博客园.files/PD_17.jpg"
border=0><BR> 在图形窗口中创建两个实体后,单击“实体间建立联系”工具,单击一个实体,在按下鼠标左键的同时把光标拖至别一个实体
评论7
最新资源