DbPropertyEntry Class

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", Justification="FxCop rule is wrong; Database is not two words.", MessageId="Db")]
public class DbPropertyEntry : System.Data.Entity.Infrastructure.DbMemberEntry
public class DbPropertyEntry : System.Data.Entity.Infrastructure.DbMemberEntry
type DbPropertyEntry = class
    inherit DbMemberEntry
Public Class DbPropertyEntry
Inherits DbMemberEntry
Inheritance
DbPropertyEntry
Derived
Attributes

Properties

CurrentValue

Gets or sets the current value of this property.

EntityEntry

The DbEntityEntry to which this property belongs.

IsModified

Gets or sets a value indicating whether the value of this property has been modified since it was loaded from the database.

Name

Gets the property name.

OriginalValue

Gets or sets the original value of this property.

ParentProperty

The DbPropertyEntry of the property for which this is a nested property. This method will only return a non-null entry for properties of complex objects; it will return null for properties of the entity itself.

Methods

Cast<TEntity,TProperty>()

Returns the equivalent generic DbPropertyEntry<TEntity,TProperty> object.

Equals(Object) (Inherited from DbMemberEntry)
GetHashCode() (Inherited from DbMemberEntry)
GetType()

Gets the Type of the current instance.

(Inherited from DbMemberEntry)
GetValidationErrors()

Validates this property.

(Inherited from DbMemberEntry)
ToString() (Inherited from DbMemberEntry)

Applies to