DbReferenceEntry(Of TEntity, TProperty) Class
Entity Framework 5.0
Instances of this class are returned from the Reference method of DbEntityEntry(Of TEntity) and allow operations such as loading to be performed on the entity's reference navigation properties.
System.Object
System.Data.Entity.Infrastructure.DbMemberEntry(Of TEntity, TProperty)
System.Data.Entity.Infrastructure.DbReferenceEntry(Of TEntity, TProperty)
System.Data.Entity.Infrastructure.DbMemberEntry(Of TEntity, TProperty)
System.Data.Entity.Infrastructure.DbReferenceEntry(Of TEntity, TProperty)
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
The DbReferenceEntry(Of TEntity, TProperty) type exposes the following members.
| 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(Of TEntity, TProperty).CurrentValue.) |
![]() | EntityEntry | The DbEntityEntry(Of TEntity) to which this navigation property belongs. (Overrides DbMemberEntry(Of TEntity, TProperty).EntityEntry.) |
![]() | IsLoaded | Gets a value indicating whether the entity has been loaded from the database. |
![]() | Name | Gets the property name. (Overrides DbMemberEntry(Of TEntity, TProperty).Name.) |
| Name | Description | |
|---|---|---|
![]() | Equals | Returns whether the specified query is equal to the current query. (Inherited from DbMemberEntry(Of TEntity, TProperty).) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | Returns the hash function for the specified query. (Inherited from DbMemberEntry(Of TEntity, TProperty).) |
![]() | GetType | Gets the type for the current query. (Inherited from DbMemberEntry(Of TEntity, TProperty).) |
![]() | GetValidationErrors | Validates this property. (Inherited from DbMemberEntry(Of TEntity, TProperty).) |
![]() | Load | Loads the entity from the database. 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 the database property values. (Inherited from DbMemberEntry(Of TEntity, TProperty).) |
| Name | Description | |
|---|---|---|
![]() ![]() | Widening(DbReferenceEntry(Of TEntity, TProperty) to DbReferenceEntry) | Returns a new instance of the non-generic DbReferenceEntry class for the navigation property represented by this object. |
Show:
