Język

InversePropertyAttributeConvention.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.InversePropertyAttribute attribute);
override this.Apply : System.Reflection.PropertyInfo * System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration * System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute -> unit
Public Overrides Sub Apply (memberInfo As PropertyInfo, configuration As ConventionTypeConfiguration, attribute As InversePropertyAttribute)

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
InversePropertyAttribute

Atrybut .

Dotyczy