IRelatedEnd Interface

 

Represents one end of a relationship.

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

[SuppressMessageAttribute("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
public interface IRelatedEnd

NameDescription
System_CAPS_pubpropertyIsLoaded

Gets or sets a value indicating whether the entity (for an EntityReference or all entities in the collection (for an EntityCollection<TEntity> have been loaded from the database.

System_CAPS_pubpropertyRelationshipName

Gets the name of the relationship in which this related end participates.

System_CAPS_pubpropertyRelationshipSet

Returns a reference to the metadata for the related end.

System_CAPS_pubpropertySourceRoleName

Gets the role name at the source end of the relationship.

System_CAPS_pubpropertyTargetRoleName

Gets the role name at the target end of the relationship.

NameDescription
System_CAPS_pubmethodAdd(IEntityWithRelationships)

Adds an object to the related end.

System_CAPS_pubmethodAdd(Object)

Adds an object to the related end.

System_CAPS_pubmethodAttach(IEntityWithRelationships)

Defines a relationship between two attached objects.

System_CAPS_pubmethodAttach(Object)

Defines a relationship between two attached objects.

System_CAPS_pubmethodCreateSourceQuery()

Returns an IEnumerable that represents the objects that belong to the related end.

System_CAPS_pubmethodGetEnumerator()

Returns an IEnumerator that iterates through the collection of related objects.

System_CAPS_pubmethodLoad()

Loads the related object or objects into this related end with the default merge option.

System_CAPS_pubmethodLoad(MergeOption)

Loads the related object or objects into the related end with the specified merge option.

System_CAPS_pubmethodLoadAsync(CancellationToken)

Asynchronously loads the related object or objects into this related end with the default merge option.

System_CAPS_pubmethodLoadAsync(MergeOption, CancellationToken)

Asynchronously loads the related object or objects into the related end with the specified merge option.

System_CAPS_pubmethodRemove(IEntityWithRelationships)

Removes an object from the collection of objects at the related end.

System_CAPS_pubmethodRemove(Object)

Removes an object from the collection of objects at the related end.