IRelatedEnd Methods

The IRelatedEnd type exposes the following members.

  NameDescription
Public method Add(IEntityWithRelationships) Adds an object to the related end.
Public method Add(Object) Adds an object to the related end.
Public method Attach(IEntityWithRelationships) Defines a relationship between two attached objects.
Public method Attach(Object) Defines a relationship between two attached objects.
Public method CreateSourceQuery Returns an IEnumerable that represents the objects that belong to the related end.
Public method GetEnumerator Returns an IEnumerator that iterates through the collection of related objects.
Public method Load() Loads the related object or objects into this related end with the default merge option.
Public method Load(MergeOption) Loads the related object or objects into the related end with the specified merge option.
Public method Remove(IEntityWithRelationships) Removes an object from the collection of objects at the related end.
Public method Remove(Object) Removes an object from the collection of objects at the related end.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft