InversePropertyAttributeConvention.ProcessEntityTypeMemberIgnored Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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 à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour