This documentation is archived and is not being maintained.

EntityObject.IEntityWithRelationships.RelationshipManager Property

Gets the relationship manager used by this object.

Namespace:  System.Data.Objects.DataClasses
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

RelationshipManager IEntityWithRelationships.RelationshipManager { get; }



IEntityWithRelationships.RelationshipManager returns a RelationshipManager used by this object. Object Services uses the relationship manager to provide access to related objects.

Classes that expose relationships must implement this property by constructing and setting RelationshipManager in their constructor. The implementation of this property should use the static method Create to create a new RelationshipManager when needed. After being created, it is expected that this object will be stored on the entity and will be provided through this property.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.