DbMemberEntry<TEntity,TProperty> Class

Definition

This is an abstract base class use 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>.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public abstract class DbMemberEntry<TEntity,TProperty> where TEntity : class
public abstract class DbMemberEntry<TEntity,TProperty> where TEntity : class
type DbMemberEntry<'Entity, 'Property (requires 'Entity : null)> = class
Public MustInherit Class DbMemberEntry(Of TEntity, TProperty)

Type Parameters

TEntity

The type of the entity to which this property belongs.

TProperty

The type of the property.

Inheritance
DbMemberEntry<TEntity,TProperty>
Derived
Attributes

Constructors

DbMemberEntry<TEntity,TProperty>()

Properties

CurrentValue

Gets or sets the current value of this property.

EntityEntry

The DbEntityEntry<TEntity> to which this member belongs.

Name

Gets the name of the property.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

GetValidationErrors()

Validates this property.

ToString()

Returns a string that represents the current object.

Operators

Implicit(DbMemberEntry<TEntity,TProperty> to DbMemberEntry)

Returns a new instance of the non-generic DbMemberEntry class for the property represented by this object.

Applies to