IEntityEntryGraphIterator Interface

Definition

A service to traverse a graph of entities and perform some action on at each node.

C#
public interface IEntityEntryGraphIterator

Remarks

The service lifetime is Singleton. This means a single instance is used by many DbContext instances. The implementation must be thread-safe. This service cannot depend on services registered as Scoped.

See Tracking entities in EF Core for more information and examples.

Methods

Applies to

Product Versions
Entity Framework Core 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0