DbReferenceEntry Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A non-generic version of the DbReferenceEntry<TEntity,TProperty> class.
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbReferenceEntry : System.Data.Entity.Infrastructure.DbMemberEntry
public class DbReferenceEntry : System.Data.Entity.Infrastructure.DbMemberEntry
type DbReferenceEntry = class
inherit DbMemberEntry
Public Class DbReferenceEntry
Inherits DbMemberEntry
- Inheritance
- Attributes
Properties
CurrentValue |
Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references. |
EntityEntry |
The DbEntityEntry to which this navigation property belongs. |
IsLoaded |
Gets or sets a value indicating whether the entity has been loaded from the database. |
Name |
Gets the property name. |
Methods
Cast<TEntity,TProperty>() |
Returns the equivalent generic DbReferenceEntry<TEntity,TProperty> object. |
Equals(Object) | (Inherited from DbMemberEntry) |
GetHashCode() | (Inherited from DbMemberEntry) |
GetType() |
Gets the Type of the current instance. (Inherited from DbMemberEntry) |
GetValidationErrors() |
Validates this property. (Inherited from DbMemberEntry) |
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. |
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() | (Inherited from DbMemberEntry) |
Applies to
Entity Framework