EdmProperty.MaxLength Property

 

Gets or sets the maximum length of the property.

Namespace:   System.Data.Entity.Core.Metadata.Edm
Assembly:  EntityFramework (in EntityFramework.dll)

public Nullable<int> MaxLength { get; set; }

Property Value

Type: System.Nullable<Int32>

The maximum length of the property.