TypeAttributeConfigurationConvention<TAttribute>.Apply Method (ConventionTypeConfiguration, TAttribute)

 

Applies this convention to a class that has an attribute of type TAttribute applied.

Namespace:   System.Data.Entity.ModelConfiguration.Conventions
Assembly:  EntityFramework (in EntityFramework.dll)

public abstract void Apply(
	ConventionTypeConfiguration configuration,
	TAttribute attribute
)

Parameters

configuration
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration

The configuration for the class that contains the property.

attribute
Type: TAttribute

The attribute.