Share via


ColumnAttributeConvention.Apply Method

Definition

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

public override void Apply (System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration configuration, System.ComponentModel.DataAnnotations.Schema.ColumnAttribute attribute);
override this.Apply : System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfiguration * System.ComponentModel.DataAnnotations.Schema.ColumnAttribute -> unit
Public Overrides Sub Apply (configuration As ConventionPrimitivePropertyConfiguration, attribute As ColumnAttribute)

Parameters

configuration
ConventionPrimitivePropertyConfiguration

The configuration for the property that has the attribute.

attribute
ColumnAttribute

The attribute.

Applies to