语言

NotMappedTypeAttributeConvention.Apply 方法

定义

将此约定应用于应用了 TAttribute 类型的属性的类。

public override void Apply(System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration configuration, System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute attribute);
override this.Apply : System.Data.Entity.ModelConfiguration.Configuration.ConventionTypeConfiguration * System.ComponentModel.DataAnnotations.Schema.NotMappedAttribute -> unit
Public Overrides Sub Apply (configuration As ConventionTypeConfiguration, attribute As NotMappedAttribute)

参数

configuration
ConventionTypeConfiguration

包含属性的类的配置。

attribute
NotMappedAttribute

属性。

适用于