Langue

NotMappedPropertyAttributeConvention.Apply Méthode

Définition

Applique cette convention à une propriété qui a un attribut de type TAttribute appliqué.

public override void Apply(System.Reflection.PropertyInfo memberInfo, System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration configuration, System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute attribute);
override this.Apply : System.Reflection.PropertyInfo * System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration * System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute -> unit
Public Overrides Sub Apply (memberInfo As PropertyInfo, configuration As ConventionTypeConfiguration, attribute As NotMappedAttribute)

Paramètres

memberInfo
PropertyInfo

Informations de membre pour la propriété qui a l’attribut.

configuration
ConventionTypeConfiguration

Configuration de la classe qui contient la propriété.

attribute
NotMappedAttribute

Attribut.

S’applique à