NotMappedPropertyAttributeConvention, classe
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Représente une convention qui permet de traiter les instances de NotMappedAttribute trouvées dans les propriétés du modèle.
System.Object
System.Data.Entity.ModelConfiguration.Conventions.Convention
System.Data.Entity.ModelConfiguration.Conventions.PropertyAttributeConfigurationConvention<NotMappedAttribute>
System.Data.Entity.ModelConfiguration.Conventions.NotMappedPropertyAttributeConvention
Espace de noms : System.Data.Entity.ModelConfiguration.Conventions
Assembly : EntityFramework (dans EntityFramework.dll)
'Déclaration
Public Class NotMappedPropertyAttributeConvention _
Inherits PropertyAttributeConfigurationConvention(Of NotMappedAttribute)
'Utilisation
Dim instance As NotMappedPropertyAttributeConvention
public class NotMappedPropertyAttributeConvention : PropertyAttributeConfigurationConvention<NotMappedAttribute>
public ref class NotMappedPropertyAttributeConvention : public PropertyAttributeConfigurationConvention<NotMappedAttribute^>
type NotMappedPropertyAttributeConvention =
class
inherit PropertyAttributeConfigurationConvention<NotMappedAttribute>
end
public class NotMappedPropertyAttributeConvention extends PropertyAttributeConfigurationConvention<NotMappedAttribute>
Le type NotMappedPropertyAttributeConvention expose les membres suivants.
Nom | Description | |
---|---|---|
![]() |
NotMappedPropertyAttributeConvention | Initialise une nouvelle instance de la classe NotMappedPropertyAttributeConvention. |
Top
Nom | Description | |
---|---|---|
![]() |
Apply | Applique la configuration à l'attribut spécifié. (Substitue PropertyAttributeConfigurationConvention<TAttribute>.Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute).) |
![]() |
Equals | (Hérité de Object.) |
![]() |
Finalize | (Hérité de Object.) |
![]() |
GetHashCode | (Hérité de Object.) |
![]() |
GetType | (Hérité de Object.) |
![]() |
MemberwiseClone | (Hérité de Object.) |
![]() |
Properties() | Démarre la configuration d'une convention légère qui s'applique à toutes les propriétés du modèle. (Hérité de Convention.) |
![]() |
ToString | (Hérité de Object.) |
![]() |
Types() | Démarre la configuration d'une convention légère qui s'applique à tous les types mappés du modèle. (Hérité de Convention.) |
Top
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Espace de noms System.Data.Entity.ModelConfiguration.Conventions