共用方式為


NotMappedPropertyAttributeConvention.Apply 方法

定義

System.Object.Apply(System.Reflection.PropertyInfo,System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration,System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute)
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)

參數

memberInfo
PropertyInfo
attribute
NotMappedAttribute

適用於