語言

InversePropertyAttributeConvention.Apply 方法

定義

將此慣例應用於屬性為 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)

參數

memberInfo
PropertyInfo

包含該屬性的屬性的成員資訊。

configuration
ConventionTypeConfiguration

包含該屬性的類別配置。

attribute
InversePropertyAttribute

屬性。

適用於