Sprache

RelationalPropertyJsonPropertyNameAttributeConvention.ProcessPropertyAdded Methode

Definition

Wird aufgerufen, nachdem dem Entitätstyp eine Eigenschaft mit einem Attribut für die zugeordnete CLR-Eigenschaft oder das zugehörige Feld hinzugefügt wurde.

protected override void ProcessPropertyAdded(Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, System.Text.Json.Serialization.JsonPropertyNameAttribute attribute, System.Reflection.MemberInfo clrMember, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext context);
override this.ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * System.Text.Json.Serialization.JsonPropertyNameAttribute * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext -> unit
Protected Overrides Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, attribute As JsonPropertyNameAttribute, clrMember As MemberInfo, context As IConventionContext)

Parameter

propertyBuilder
IConventionPropertyBuilder

Der Generator für die Eigenschaft.

attribute
JsonPropertyNameAttribute

Das Attribut.

clrMember
MemberInfo

Das Element mit dem Attribut.

context
IConventionContext

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

Gilt für: