src/Shared/EntityFramework/ModelConfiguration/Configuration/Mapping/LengthColumnConfiguration.cs
/// <summary>Configures the column to have the specified maximum length.</summary>
/// <returns>The same <see cref="T:System.Data.Entity.ModelConfiguration.Configuration.LengthColumnConfiguration" /> instance so that multiple calls can be chained.</returns>
/// <param name="value">The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column.</param>
Configures the column to have the specified maximum length.
Configures the column to have the specified maximum length .
public LengthColumnConfiguration HasMaxLength(int? value)
        {
            Configuration.MaxLength = value;
            Configuration.IsMaxLength = null;
            return this;
        }
public LengthColumnConfiguration HasMaxLength ( int ? value ) { Configuration . MaxLength = value ; Configuration . IsMaxLength = null ; return this ; }
Configures the column to have the specified maximum length.
Configures the column to have the specified maximum length .
The same  instance so that multiple calls can be chained.
The same instance so that multiple calls can be chained .
value
int?
The maximum length for the column. Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column.
The maximum length for the column . Setting the value to null will remove any maximum length restriction from the column and a default length will be used for the database column .