DbReferenceEntry<TEntity, TProperty> Class
Instances of this class are returned from the Reference method of DbEntityEntry<TEntity> and allow operations such as loading to be performed on the an entity's reference navigation properties.
Assembly: EntityFramework (in EntityFramework.dll)
System.Data.Entity.Infrastructure.DbMemberEntry<TEntity, TProperty>
System.Data.Entity.Infrastructure.DbReferenceEntry<TEntity, TProperty>
Name | Description | |
---|---|---|
![]() | CurrentValue | Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references.(Overrides DbMemberEntry<TEntity, TProperty>.CurrentValue.) |
![]() | EntityEntry | The DbEntityEntry<TEntity> to which this navigation property belongs.(Overrides DbMemberEntry<TEntity, TProperty>.EntityEntry.) |
![]() | IsLoaded | Gets or sets a value indicating whether the entity has been loaded from the database. |
![]() | Name | Gets the property name.(Overrides DbMemberEntry<TEntity, TProperty>.Name.) |
Name | Description | |
---|---|---|
![]() | Equals(Object) | Specifies whether the object is equal to the specified object.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | Gets the hash code associated with the object.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | GetType() | Gets the Type of the current instance.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | GetValidationErrors() | Validates this property.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
![]() | Load() | Loads the entity from the database. Note that if the entity already exists in the context, then it will not overwritten with values from the database. |
![]() | LoadAsync() | Asynchronously loads the entity from the database. Note that if the entity already exists in the context, then it will not overwritten with values from the database. |
![]() | LoadAsync(CancellationToken) | Asynchronously loads the entity from the database. Note that if the entity already exists in the context, then it will not overwritten with values from the database. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Query() | Returns the query that would be used to load this entity from the database. The returned query can be modified using LINQ to perform filtering or operations in the database. |
![]() | ToString() | Returns a string representation of DbMemberEntry<TEntity, TProperty>.(Inherited from DbMemberEntry<TEntity, TProperty>.) |
Name | Description | |
---|---|---|
![]() ![]() | Implicit(DbReferenceEntry<TEntity, TProperty> to DbReferenceEntry) | Returns a new instance of the non-generic DbReferenceEntry class for the navigation property represented by this object. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.