DbContext::Entry Method (Object)

Entity Framework 5.0

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)

public:
DbEntityEntry^ Entry(
	Object^ entity
)

Parameters

entity
Type: System::Object

The entity.

Return Value

Type: System.Data.Entity.Infrastructure::DbEntityEntry
An entry for the entity.
Show: