DbReferenceEntry Class

A non-generic version of the DbReferenceEntry<TEntity, TProperty> class.


Namespace:  System.Data.Entity.Infrastructure
Assembly:  EntityFramework (in EntityFramework.dll)

public ref class DbReferenceEntry : public DbMemberEntry

The DbReferenceEntry type exposes the following members.

Public propertyCurrentValueGets or sets the current value of the navigation property. The current value is the entity that the navigation property references. (Overrides DbMemberEntry::CurrentValue.)
Public propertyEntityEntryThe DbEntityEntry to which this navigation property belongs. (Overrides DbMemberEntry::EntityEntry.)
Public propertyIsLoadedGets a value indicating whether the entity has been loaded from the database.
Public propertyNameGets the property name. (Overrides DbMemberEntry::Name.)

Public methodCast<TEntity, TProperty>Returns the equivalent generic DbReferenceEntry<TEntity, TProperty> object.
Public methodEqualsReturns whether the specified entry is equal to the current query. (Inherited from DbMemberEntry.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash function for the specified entry. (Inherited from DbMemberEntry.)
Public methodGetTypeGets the type for the current entry. (Inherited from DbMemberEntry.)
Public methodGetValidationErrorsValidates this property. (Inherited from DbMemberEntry.)
Public methodLoadLoads 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.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodQueryReturns 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.
Public methodToStringReturns a string representation of the database property values. (Inherited from DbMemberEntry.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.