Partager via


InversePropertyAttributeConvention.ProcessEntityTypeMemberIgnored Méthode

Définition

Surcharges

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Appelé après qu’un membre de type d’entité est ignoré.

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Appelé après qu’une propriété de navigation qui a un attribut a été ignorée.

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Appelé après qu’un membre de type d’entité est ignoré.

public override void ProcessEntityTypeMemberIgnored (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder entityTypeBuilder, string name, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> context);
override this.ProcessEntityTypeMemberIgnored : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionEntityTypeBuilder * string * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<string> -> unit
Public Overrides Sub ProcessEntityTypeMemberIgnored (entityTypeBuilder As IConventionEntityTypeBuilder, name As String, context As IConventionContext(Of String))

Paramètres

entityTypeBuilder
IConventionEntityTypeBuilder

Générateur pour le type d’entité.

name
String

Nom du membre ignoré.

context
IConventionContext<String>

Informations supplémentaires associées à l’exécution de la convention.

Implémente

S’applique à

ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, InversePropertyAttribute, IConventionContext<String>)

Appelé après qu’une propriété de navigation qui a un attribut a été ignorée.

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

Paramètres

entityTypeBuilder
IConventionEntityTypeBuilder

Générateur pour le type d’entité.

navigationMemberInfo
MemberInfo

Informations de membre de navigation.

targetClrType
Type

Type CLR du type d’entité cible.

attribute
InversePropertyAttribute

L'attribut.

context
IConventionContext<String>

Informations supplémentaires associées à l’exécution de la convention.

S’applique à