CollectionEntry.FindEntry(Object) Method

Definition

The EntityEntry of an entity this navigation targets.

public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry FindEntry (object entity);
public virtual Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry? FindEntry (object entity);
abstract member FindEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry
override this.FindEntry : obj -> Microsoft.EntityFrameworkCore.ChangeTracking.EntityEntry
Public Overridable Function FindEntry (entity As Object) As EntityEntry

Parameters

entity
Object

The entity to get the entry for.

Returns

An entry for an entity that this navigation targets.

Remarks

See Accessing tracked entities in EF Core for more information and examples.

Applies to