Język

NotMappedPropertyAttributeConvention.Apply Metoda

Definicja

Stosuje tę konwencję do właściwości, która ma zastosowany atrybut typu TAttribute.

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)

Parametry

memberInfo
PropertyInfo

Informacje o elemencie członkowskim dla właściwości, która ma atrybut .

configuration
ConventionTypeConfiguration

Konfiguracja klasy zawierającej właściwość .

attribute
NotMappedAttribute

Atrybut .

Dotyczy