Share via


Type Attribute (Association CSDL)

In the Entity Data Model (EDM), the Type attribute of an End element specifies the type of an entity related to some other entity by an association.

Both ends of the following association example are of the Employee type. The Role and Multiplicity attributes of the End Role tags distinguish the logic of the relationship beyond the type of the entities related by the association. The Type must be fully qualified by its schema namespace name. In this example, the Self alias represents the namespace name.

<Association Name="Employee_Employee_ManagerID">
    <End Role="Employee" Type="Self.Employee" Multiplicity="0..1" />
    <End Role="Employee1" Type="Self.Employee" Multiplicity="*" />
</Association>

See Also

Concepts

AssociationSet Element (EntityContainer CSDL)
Type Attribute (Association SSDL)
AssociationSetMapping Element (MSL)