PropertyAttributeConfigurationConvention<TAttribute>.Apply Method (PropertyInfo, ConventionTypeConfiguration, 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(
	PropertyInfo memberInfo,
	ConventionTypeConfiguration configuration,
	TAttribute attribute
)

Parameters

memberInfo
Type: System.Reflection.PropertyInfo

The member info for the property that has the attribute.

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

The configuration for the class that contains the property.

attribute
Type: TAttribute

The attribute.