Поделиться через


PropertyAttributeConfigurationConvention<TAttribute>.Apply Метод

Определение

Применяет это соглашение к свойству, к которому применен атрибут типа TAttribute.

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

Параметры

memberInfo
PropertyInfo

Сведения об элементе для свойства с атрибутом .

configuration
ConventionTypeConfiguration

Конфигурация класса, содержащего свойство .

attribute
TAttribute

Атрибут.

Применяется к