Freigeben über


MaxLengthAttributeConvention.Apply Methode

Definition

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

Parameter

attribute
MaxLengthAttribute

Gilt für: