Share via


RelationalModelCustomizer.FindSets(ModelBuilder, DbContext) Method

Definition

Adds the entity types found in DbSet<TEntity> properties on the context to the model.

protected override void FindSets (Microsoft.EntityFrameworkCore.ModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.DbContext context);
override this.FindSets : Microsoft.EntityFrameworkCore.ModelBuilder * Microsoft.EntityFrameworkCore.DbContext -> unit
Protected Overrides Sub FindSets (modelBuilder As ModelBuilder, context As DbContext)

Parameters

modelBuilder
ModelBuilder

The ModelBuilder being used to build the model.

context
DbContext

The context to find DbSet<TEntity> properties on.

Applies to