InversePropertyAttributeConvention.Apply 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將此慣例應用於屬性為 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
屬性。