PrimitivePropertyAttributeConfigurationConvention<TAttribute>.Apply Method (ConventionPrimitivePropertyConfiguration, TAttribute)

 

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

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

public abstract void Apply(
	ConventionPrimitivePropertyConfiguration configuration,
	TAttribute attribute
)

Parameters

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

The configuration for the property that has the attribute.

attribute
Type: TAttribute

The attribute.