EntityReference Members
.NET Framework 3.5
Base class that implements non-generic functionality for an EntityReference<TEntity>.
The EntityReference type exposes the following members.
| Name | Description | |
|---|---|---|
|
Attach<TEntity> | Defines a relationship between two attached objects. (Inherited from RelatedEnd.) |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetEnumerator | Returns an IEnumerator that iterates through the collection of related objects. (Inherited from RelatedEnd.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
Load | Overloaded. When overridden in a derived class, loads the related object or objects into the local collection or reference. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
Merge<TEntity> | Merges related entities into the local EntityCollection<TEntity>. (Inherited from RelatedEnd.) |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
|
ValidateEntityForAttach<TEntity> | Determines whether an object can be attached to the local collection or reference. (Inherited from RelatedEnd.) |
|
ValidateLoad<TEntity> | Ensures that the related object or objects can be successfully loaded into the local collection or reference. (Inherited from RelatedEnd.) |
|
ValidateOwnerForAttach | Ensures that the object to which the related end belongs supports an attach operation. (Inherited from RelatedEnd.) |
| Name | Description | |
|---|---|---|
|
EntityKey | Returns the key for the related object. |
|
IsLoaded | Gets a value that indicates whether all related objects have been loaded. (Inherited from RelatedEnd.) |
|
RelationshipName | Gets the name of the relationship in which this related end participates. (Inherited from RelatedEnd.) |
|
RelationshipSet | Returns a reference to the metadata for the related end. (Inherited from RelatedEnd.) |
|
SourceRoleName | Gets the role name at the source end of the relationship. (Inherited from RelatedEnd.) |
|
TargetRoleName | Gets the role name at the target end of the relationship. (Inherited from RelatedEnd.) |
| Name | Description | |
|---|---|---|
|
AssociationChanged | Occurs when a change is made to a related end. (Inherited from RelatedEnd.) |
| Name | Description | |
|---|---|---|
|
IRelatedEnd.Add | Adds an object to the related end. (Inherited from RelatedEnd.) |
|
IRelatedEnd.Attach | Attaches an object at the related end. (Inherited from RelatedEnd.) |
|
IRelatedEnd.CreateSourceQuery | Returns an IEnumerable that represents the objects that belong to the related end. (Inherited from RelatedEnd.) |
|
IRelatedEnd.Remove | Removes an object from the collection at the related end. (Inherited from RelatedEnd.) |