IRelatedEnd.Attach Method (IEntityWithRelationships)
Defines a relationship between two attached objects.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
The RelatedEnd class explicitly implements the Attach method. The EntityCollection<TEntity> class uses this implementation to define relationships between the attached source object and the object attached to the collection. For more information, see Attaching and Detaching Objects.
Available since 3.5