Share via


DbPropertyEntry<TEntity, TProperty>.EntityEntry Property

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

The DbEntityEntry<TEntity> to which this property belongs.

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

Syntax

'Declaration
Public Overrides ReadOnly Property EntityEntry As DbEntityEntry(Of TEntity)
    Get
'Usage
Dim instance As DbPropertyEntry 
Dim value As DbEntityEntry(Of TEntity)

value = instance.EntityEntry
public override DbEntityEntry<TEntity> EntityEntry { get; }
public:
virtual property DbEntityEntry<TEntity>^ EntityEntry {
    DbEntityEntry<TEntity>^ get () override;
}
abstract EntityEntry : DbEntityEntry<'TEntity>
override EntityEntry : DbEntityEntry<'TEntity>
override function get EntityEntry () : DbEntityEntry<TEntity>

Property Value

Type: System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>
An entry for the entity that owns this property.

See Also

Reference

DbPropertyEntry<TEntity, TProperty> Class

System.Data.Entity.Infrastructure Namespace