CollectionEntry.FindEntry(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework