InversePropertyAttributeConvention.ProcessEntityTypeAdded Methode

Definition

Wird für jede Navigationseigenschaft aufgerufen, die über ein Attribut verfügt, nachdem dem Modell ein Entitätstyp hinzugefügt wurde.

public override void ProcessEntityTypeAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder> context);
override this.ProcessEntityTypeAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * System.Reflection.MemberInfo * Type * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder> -> unit
Public Overrides Sub ProcessEntityTypeAdded (entityTypeBuilder As IConventionEntityTypeBuilder, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As InversePropertyAttribute, context As IConventionContext(Of IConventionEntityTypeBuilder))

Parameter

entityTypeBuilder
IConventionEntityTypeBuilder

Der Generator für den Entitätstyp.

navigationMemberInfo
MemberInfo

Die Navigationselementinformationen.

targetClrType
Type

Der CLR-Typ des Zielentitätstyps

attribute
InversePropertyAttribute

Das Attribut.

context
IConventionContext<IConventionEntityTypeBuilder>

Zusätzliche Informationen im Zusammenhang mit der Konventionsausführung.

Gilt für: