Share via


DbContext.Entry Metodo

Definizione

Overload

Entry(Object)

Ottiene un DbEntityEntry oggetto per l'entità specificata che fornisce l'accesso alle informazioni sull'entità e sulla possibilità di eseguire azioni nell'entità.

Entry<TEntity>(TEntity)

Ottiene un DbEntityEntry<TEntity> oggetto per l'entità specificata che fornisce l'accesso alle informazioni sull'entità e sulla possibilità di eseguire azioni nell'entità.

Entry(Object)

Ottiene un DbEntityEntry oggetto per l'entità specificata che fornisce l'accesso alle informazioni sull'entità e sulla possibilità di eseguire azioni nell'entità.

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

Parametri

entity
Object

Entità.

Restituisce

Voce per l'entità.

Si applica a

Entry<TEntity>(TEntity)

Ottiene un DbEntityEntry<TEntity> oggetto per l'entità specificata che fornisce l'accesso alle informazioni sull'entità e sulla possibilità di eseguire azioni nell'entità.

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)

Parametri di tipo

TEntity

Tipo dell'entità.

Parametri

entity
TEntity

Entità.

Restituisce

Voce per l'entità.

Si applica a