Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RelationshipManager Methods

The RelationshipManager type exposes the following members.

  Name Description
Public method Static member Create Creates a new RelationshipManager object.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAllRelatedEnds Returns an enumeration of all the related ends managed by the relationship manager.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetRelatedCollection<TTargetEntity> Gets an EntityCollection<TEntity> of related objects with the specified relationship name and target role name.
Public method GetRelatedEnd Returns either an EntityCollection<TEntity> or EntityReference<TEntity> of the correct type for the specified target role in a relationship.
Public method GetRelatedReference<TTargetEntity> Gets the EntityReference<TEntity> for a related object by using the specified combination of relationship name and target role name.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeRelatedCollection<TTargetEntity> Initializes an existing EntityCollection<TEntity> that was created by using the default constructor.
Public method InitializeRelatedReference<TTargetEntity> Initializes an existing EntityReference<TEntity> that was created by using the default constructor.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method OnDeserialized Infrastructure. Used internally to deserialize entity objects along with the RelationshipManager instances.
Public method OnSerializing Called by Object Services to prepare an EntityKey for binary serialization with a serialized relationship.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top
Show:
© 2015 Microsoft