Type 특성(연결 SSDL)
EDM(엔터티 데이터 모델)에서 End 요소의 Type 특성은 연결을 통해 다른 엔터티와 관련된 엔터티의 형식을 지정합니다.
다음 연결 예제의 두 End는 Employee 형식입니다. End 요소의 Role 및 Multiplicity 특성은 연결에 의해 관련된 다수의 엔터티의 형식 이외에 관계의 논리를 구별합니다. Type은 해당 스키마 네임스페이스 이름으로 정규화되어야 합니다.
<Association Name="FK_Employee_Employee_ManagerID">
<End Role="Employee" Type="Adventureworks.Store.Employee"
Multiplicity="0..1" />
<End Role="Employee1" Type="Adventureworks.Store.Employee"
Multiplicity="*" />
<ReferentialConstraint>
<Principal Role="Employee">
<PropertyRef Name="EmployeeID" />
</Principal>
<Dependent Role="Employee1">
<PropertyRef Name="ManagerID" />
</Dependent>
</ReferentialConstraint>
</Association>
참고 항목
개념
AssociationSet 요소(EntityContainer SSDL)
Type 특성(연결 CSDL)
AssociationSetMapping 요소(MSL)
ReferentialConstraint 요소(연결 SSDL)