Share via


PrimitivePropertyAttributeConfigurationConvention<TAttribute>.Apply Method

Definition

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

public abstract void Apply (System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration configuration, TAttribute attribute);
abstract member Apply : System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration * 'Attribute -> unit
Public MustOverride Sub Apply (configuration As ConventionPrimitivePropertyConfiguration, attribute As TAttribute)

Parameters

configuration
ConventionPrimitivePropertyConfiguration

The configuration for the property that has the attribute.

attribute
TAttribute

The attribute.

Applies to