RelationshipManager Methods

 

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreate(IEntityWithRelationships)

Creates a new RelationshipManager object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetAllRelatedEnds()

Returns an enumeration of all the related ends managed by the relationship manager.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetRelatedCollection<TTargetEntity>(String, String)

Gets an EntityCollection<TEntity> of related objects with the specified relationship name and target role name.

System_CAPS_pubmethodGetRelatedEnd(String, String)

Returns either an EntityCollection<TEntity> or EntityReference<TEntity> of the correct type for the specified target role in a relationship.

System_CAPS_pubmethodGetRelatedReference<TTargetEntity>(String, String)

Gets the EntityReference<TEntity> for a related object by using the specified combination of relationship name and target role name.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeRelatedCollection<TTargetEntity>(String, String, EntityCollection<TTargetEntity>)

Initializes an existing EntityCollection<TEntity> that was created by using the default constructor.

System_CAPS_pubmethodInitializeRelatedReference<TTargetEntity>(String, String, EntityReference<TTargetEntity>)

Initializes an existing EntityReference<TEntity> that was created by using the default constructor.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOnDeserialized(StreamingContext)

This API supports the product infrastructure and is not intended to be used directly from your code. Used internally to deserialize entity objects along with the RelationshipManager instances.

System_CAPS_pubmethodOnSerializing(StreamingContext)

Called by Object Services to prepare an EntityKey for binary serialization with a serialized relationship.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Return to top
Show: