DbReferenceEntry Methods

The DbReferenceEntry type exposes the following members.

  Name Description
Public method Cast<TEntity, TProperty> Returns the equivalent generic DbReferenceEntry<TEntity, TProperty> object.
Public method Equals Returns whether the specified entry is equal to the current query. (Inherited from DbMemberEntry.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash function for the specified entry. (Inherited from DbMemberEntry.)
Public method GetType Gets the type for the current entry. (Inherited from DbMemberEntry.)
Public method GetValidationErrors Validates this property. (Inherited from DbMemberEntry.)
Public method 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.
Protected method MemberwiseClone (Inherited from Object.)
Public method 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.
Public method ToString Returns a string representation of the database property values. (Inherited from DbMemberEntry.)