DbMemberEntry<TEntity, TProperty> Class

An abstract base class used to represent a scalar or complex property, or a navigation property of an entity. Scalar and complex properties use the derived class DbPropertyEntry<TEntity, TProperty>, reference navigation properties use the derived class DbReferenceEntry<TEntity, TProperty>, and collection navigation properties use the derived class DbCollectionEntry<TEntity, TElement>.

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

public abstract class DbMemberEntry<TEntity, TProperty>
where TEntity : class

Type Parameters


The type of the entity to which this property belongs.


The type of the entity to which this property belongs.

The DbMemberEntry<TEntity, TProperty> type exposes the following members.

Protected methodDbMemberEntry<TEntity, TProperty>Initializes a new instance of the DbMemberEntry<TEntity, TProperty> class.

Public propertyCurrentValueGets or sets the current value of this property.
Public propertyEntityEntryThe DbEntityEntry<TEntity> to which this member belongs.
Public propertyNameGets the name of the database member entry.

Public methodEqualsReturns whether the specified query is equal to the current query. (Overrides Object.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeReturns the hash function for the specified query. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the type for the current query.
Public methodGetValidationErrorsValidates this property.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a string representation of the database property values. (Overrides Object.ToString().)

Public operatorStatic memberImplicit(DbMemberEntry<TEntity, TProperty> to DbMemberEntry)Returns a new instance of the non-generic DbMemberEntry class for the property represented by this object.

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