DbContext::Entry Method
Entity Framework 6.0
Namespace:
System.Data.Entity
Assembly: EntityFramework (in EntityFramework.dll)
| Name | Description | |
|---|---|---|
![]() | Entry(Object^) | Gets a DbEntityEntry object for the given entity providing access to information about the entity and the ability to perform actions on the entity. |
![]() | Entry<TEntity>(TEntity) | Gets a DbEntityEntry<TEntity> object for the given entity providing access to information about the entity and the ability to perform actions on the entity. |
DbContext::Entry Method (Object^)
Gets a DbEntityEntry object for the given entity providing access to information about the entity and the ability to perform actions on the entity.
Parameters
- entity
-
Type:
System::Object^
The entity.
DbContext::Entry<TEntity> Method (TEntity)
Gets a DbEntityEntry<TEntity> object for the given entity providing access to information about the entity and the ability to perform actions on the entity.
public: generic<typename TEntity> where TEntity : ref class DbEntityEntry<TEntity>^ Entry( TEntity entity )
Parameters
- entity
-
Type:
TEntity
The entity.
Return Value
Type: System.Data.Entity.Infrastructure::DbEntityEntry<TEntity>^An entry for the entity.
Type Parameters
- TEntity
The type of the entity.
Show:
