Share via


IDbSetFinder Interface

Definition

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

public interface IDbSetFinder
type IDbSetFinder = interface
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