ConventionPrimitivePropertyConfiguration.IsMaxLength Method ()

 

Configures the property to allow the maximum length supported by the database provider.

Namespace:   System.Data.Entity.ModelConfiguration.Configuration
Assembly:  EntityFramework (in EntityFramework.dll)

public virtual ConventionPrimitivePropertyConfiguration IsMaxLength()

Calling this will have no effect once it has been configured. This method throws if the property does not have length facets.