Export (0) Print
Expand All

DbMemberEntry<TEntity, TProperty> Class

Entity Framework 5.0

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

TEntity

The type of the entity to which this property belongs.

TProperty

The type of the entity to which this property belongs.

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

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

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

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

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