Share via


IDbSetFinder.FindSets(Type) Method

Definition

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

public System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Infrastructure.DbSetProperty> FindSets (Type contextType);
abstract member FindSets : Type -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Infrastructure.DbSetProperty>
Public Function FindSets (contextType As Type) As IReadOnlyList(Of DbSetProperty)

Parameters

contextType
Type

A type that inherits from DbContext

Returns

A list of the found properties.

Applies to