IDbSetFinder Interface

Definition

A service for finding DbSet<TEntity> properties on a type that inherits from DbContext.

C#
public interface IDbSetFinder

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.

Methods

FindSets(Type)

Finds DbSet<TEntity> properties on a type that inherits from DbContext.

Applies to

Produkt Versioner
Entity Framework Core 5.0, 6.0, 7.0, 8.0, 9.0