Idioma

NotMappedPropertyAttributeConvention.Apply Método

Definição

Aplica essa convenção a uma propriedade que tem um atributo do tipo TAttribute aplicado.

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

Parâmetros

memberInfo
PropertyInfo

As informações do membro para a propriedade que tem o atributo.

configuration
ConventionTypeConfiguration

A configuração da classe que contém a propriedade.

attribute
NotMappedAttribute

O atributo.

Aplica-se a