Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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.]
Gets a DbEntityEntry object for the given entity providing access to information about the entity and the ability to perform actions on the entity.
Namespace: System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
'Declaration
Public Function Entry ( _
entity As Object _
) As DbEntityEntry
'Usage
Dim instance As DbContext
Dim entity As Object
Dim returnValue As DbEntityEntry
returnValue = instance.Entry(entity)
public DbEntityEntry Entry(
Object entity
)
public:
DbEntityEntry^ Entry(
Object^ entity
)
member Entry :
entity:Object -> DbEntityEntry
public function Entry(
entity : Object
) : DbEntityEntry
- entity
Type: System.Object
The entity.
Type: System.Data.Entity.Infrastructure.DbEntityEntry
An entry for the entity.