Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbPropertyEntry<TEntity, TProperty> Class

 

Instances of this class are returned from the Property method of DbEntityEntry<TEntity> and allow access to the state of the scalar or complex property.

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


generic<typename TEntity, typename TProperty>
where TEntity : ref class
public ref class DbPropertyEntry : DbMemberEntry<TEntity, TProperty>

Type Parameters

TEntity

The type of the entity to which this property belongs.

TProperty

The type of the property.

NameDescription
System_CAPS_pubpropertyCurrentValue

Gets or sets the current value of this property.(Overrides DbMemberEntry<TEntity, TProperty>::CurrentValue.)

System_CAPS_pubpropertyEntityEntry

The DbEntityEntry<TEntity> to which this property belongs.(Overrides DbMemberEntry<TEntity, TProperty>::EntityEntry.)

System_CAPS_pubpropertyIsModified

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

System_CAPS_pubpropertyName

Gets the property name.(Overrides DbMemberEntry<TEntity, TProperty>::Name.)

System_CAPS_pubpropertyOriginalValue

Gets or sets the original value of this property.

System_CAPS_pubpropertyParentProperty

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.

NameDescription
System_CAPS_pubmethodEquals(Object^)

Specifies whether the object is equal to the specified object.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Gets the hash code associated with the object.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_pubmethodGetValidationErrors()

Validates this property.(Inherited from DbMemberEntry<TEntity, TProperty>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string representation of DbMemberEntry<TEntity, TProperty>.(Inherited from DbMemberEntry<TEntity, TProperty>.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticImplicit(DbPropertyEntry<TEntity, TProperty>^ to DbPropertyEntry^)

Returns a new instance of the non-generic DbPropertyEntry 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.

Return to top
Show: