Click or drag to resize
EF Visual Editor

ModelAttributeMaxLength Property

Gets or sets the value of MaxLength domain property. Maximum length of the string, A positive number will generate a length constraint, negative number means the database maximum (approx. 2GB), and null or 0 for no max length entry (migration traditionally will set the database column to 2000 characters).

Namespace:  Sawczyn.EFDesigner.EFModel
Assembly:  Sawczyn.EFDesigner.EFModel.Dsl (in Sawczyn.EFDesigner.EFModel.Dsl.dll) Version: 2.0.5.3 (2.0.5.3)
Syntax
public Nullable<int> MaxLength { get; set; }
Request Example View Source

Property Value

Type: NullableInt32

[Missing <value> documentation for "P:Sawczyn.EFDesigner.EFModel.ModelAttribute.MaxLength"]

See Also