Sprache

RelationalKeyDiscoveryConvention.ProcessPropertyAdded Methode

Definition

Wird aufgerufen, nachdem eine Eigenschaft dem Entitätstyp hinzugefügt wurde.

public override void ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
Public Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, context As IConventionContext(Of IConventionPropertyBuilder))

Parameter

propertyBuilder
IConventionPropertyBuilder

Der Generator für die Eigenschaft.

context
IConventionContext<IConventionPropertyBuilder>

Zusätzliche Informationen, die mit der Ausführung von Konventionen verknüpft sind.

Gilt für: