DbReferenceEntry Class

 

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

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

System.Object
  System.Data.Entity.Infrastructure.DbMemberEntry
    System.Data.Entity.Infrastructure.DbReferenceEntry

public class DbReferenceEntry : DbMemberEntry

NameDescription
System_CAPS_pubpropertyCurrentValue

Gets or sets the current value of the navigation property. The current value is the entity that the navigation property references.(Overrides DbMemberEntry.CurrentValue.)

System_CAPS_pubpropertyEntityEntry

The DbEntityEntry to which this navigation property belongs.(Overrides DbMemberEntry.EntityEntry.)

System_CAPS_pubpropertyIsLoaded

Gets or sets a value indicating whether the entity has been loaded from the database.

System_CAPS_pubpropertyName

Gets the property name.(Overrides DbMemberEntry.Name.)

NameDescription
System_CAPS_pubmethodCast<TEntity, TProperty>()

Returns the equivalent generic DbReferenceEntry<TEntity, TProperty> object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified entry is equal to the current entry.(Inherited from DbMemberEntry.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash function for this entry.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodGetValidationErrors()

Validates this property.(Inherited from DbMemberEntry.)

System_CAPS_pubmethodLoad()

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.

System_CAPS_pubmethodLoadAsync()

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.

System_CAPS_pubmethodLoadAsync(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.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodQuery()

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.

System_CAPS_pubmethodToString()

Returns 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.