NotMappedPropertyAttributeConvention.Apply Method (PropertyInfo, ConventionTypeConfiguration, NotMappedAttribute)
Applies the configuration to the specified attribute.
Assembly: EntityFramework (in EntityFramework.dll)
public override void Apply( PropertyInfo memberInfo, ConventionTypeConfiguration configuration, NotMappedAttribute attribute )
Parameters
- memberInfo
-
Type:
System.Reflection.PropertyInfo
The property information.
- configuration
-
Type:
System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration
The configuration to be performed for an entity type in a model.
- attribute
-
Type:
System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute
The property or class excluded from database mapping.