Export (0) Print
Expand All

DbReferenceEntry Class

Entity Framework 5.0

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

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

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

public class DbReferenceEntry : DbMemberEntry

The DbReferenceEntry type exposes the following members.

  NameDescription
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.)
Top

  NameDescription
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.)
Top

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