NotMappedTypeAttributeConvention.Apply Method (ConventionTypeConfiguration, NotMappedAttribute)
Applies the configuration to the specified attribute.
Assembly: EntityFramework (in EntityFramework.dll)
public override void Apply( ConventionTypeConfiguration configuration, NotMappedAttribute attribute )
Parameters
- 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.