DbContext.Entry DbContext.Entry DbContext.Entry Method

Definition

Overloads

Entry(Object) Entry(Object) 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) Entry<TEntity>(TEntity) 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.

Entry(Object) Entry(Object) 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.

public System.Data.Entity.Infrastructure.DbEntityEntry Entry (object entity);
member this.Entry : obj -> System.Data.Entity.Infrastructure.DbEntityEntry
Public Function Entry (entity As Object) As DbEntityEntry

Parameters

entity
Object Object Object

The entity.

Returns

An entry for the entity.

Entry<TEntity>(TEntity) Entry<TEntity>(TEntity) 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.

public System.Data.Entity.Infrastructure.DbEntityEntry<TEntity> Entry<TEntity> (TEntity entity) where TEntity : class;
member this.Entry : 'Entity -> System.Data.Entity.Infrastructure.DbEntityEntry<'Entity (requires 'Entity : null)> (requires 'Entity : null)
Public Function Entry(Of TEntity As Class) (entity As TEntity) As DbEntityEntry(Of TEntity)

Type Parameters

TEntity

The type of the entity.

Parameters

entity

The entity.

Returns

Applies to