NotMappedTypeAttributeConvention.Apply Method (ConventionTypeConfiguration, NotMappedAttribute)

 

Applies the configuration to the specified attribute.

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
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.