语言

TimestampAttributeConvention.Apply 方法

定义

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

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

参数

configuration
ConventionPrimitivePropertyConfiguration

具有该属性的属性的配置。

attribute
TimestampAttribute

属性。

适用于