ForeignKeyPrimitivePropertyAttributeConvention.Apply 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
System.Object.Apply(System.Reflection.PropertyInfo,System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration,System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute)
public override void Apply (System.Reflection.PropertyInfo memberInfo, System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration configuration, System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute attribute);
override this.Apply : System.Reflection.PropertyInfo * System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration * System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute -> unit
Public Overrides Sub Apply (memberInfo As PropertyInfo, configuration As ConventionTypeConfiguration, attribute As ForeignKeyAttribute)
參數
- memberInfo
- PropertyInfo
- configuration
- ConventionTypeConfiguration
- attribute
- ForeignKeyAttribute