End Element (Association CSDL)

In the Entity Data Model (EDM), the End child elements of an Association element specify the entities related by the association. The association in the following example connects Employee entities based on the manager/employee relationship. Both ends of the association are of the same type, as indicated by the assignment Type="AdventureWorksModel.Employee".

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

See Also

Concepts

End Element (Association SSDL)