Język

DbSetFindingConvention Klasa

Definicja

Konwencja, która dodaje typy jednostek na DbSet<TEntity> podstawie właściwości zdefiniowanych w klasie pochodnej DbContext .

[System.Runtime.CompilerServices.Nullable(0)]
public class DbSetFindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
public class DbSetFindingConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelInitializedConvention
[<System.Runtime.CompilerServices.Nullable(0)>]
type DbSetFindingConvention = class
    interface IModelInitializedConvention
    interface IConvention
type DbSetFindingConvention = class
    interface IModelInitializedConvention
    interface IConvention
Public Class DbSetFindingConvention
Implements IModelInitializedConvention
Dziedziczenie
DbSetFindingConvention
Atrybuty
Implementuje

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Konwencje tworzenia modeli .

Konstruktory

Nazwisko Opis
DbSetFindingConvention(ProviderConventionSetBuilderDependencies)

Tworzy nowe wystąpienie klasy DbSetFindingConvention.

Właściwości

Nazwisko Opis
Dependencies

Zależności dla tej usługi.

Metody

Nazwisko Opis
ProcessModelInitialized(IConventionModelBuilder, IConventionContext<IConventionModelBuilder>)

Wywoływane po zainicjowaniu modelu.

Dotyczy