DbContext::Entry Method

 

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

NameDescription
System_CAPS_pubmethodEntry(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.

System_CAPS_pubmethodEntry<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.

Return to top

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.

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.

Return to top

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.

Return to top
Show: