Udostępnij za pośrednictwem


DiscriminatorConvention.ProcessEntityTypeRemoved Metoda

Definicja

Wywoływane po usunięciu typu jednostki z modelu.

public virtual void ProcessEntityTypeRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> context);
abstract member ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
override this.ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
Public Overridable Sub ProcessEntityTypeRemoved (modelBuilder As IConventionModelBuilder, entityType As IConventionEntityType, context As IConventionContext(Of IConventionEntityType))

Parametry

modelBuilder
IConventionModelBuilder

Konstruktor modelu.

entityType
IConventionEntityType

Usunięty typ jednostki.

context
IConventionContext<IConventionEntityType>

Dodatkowe informacje skojarzone z wykonywaniem konwencji.

Implementuje

Dotyczy