DbSetFindingConvention Class

Definition

A convention that adds entity types based on the DbSet<TEntity> properties defined on the derived DbContext class.

public class DbSetFindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
type DbSetFindingConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class DbSetFindingConvention
Implements IModelInitializedConvention
Inheritance
DbSetFindingConvention
Implements

Remarks

See Model building conventions for more information and examples.

Constructors

DbSetFindingConvention(ProviderConventionSetBuilderDependencies)

Creates a new instance of DbSetFindingConvention.

Properties

Dependencies

Dependencies for this service.

Methods

ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Called after a model is initialized.

Applies to