ConventionPrimitivePropertyConfiguration.IsFixedLength Method ()

 

Configures the property to be fixed length. Use HasMaxLength to set the length that the property is fixed to.

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

public virtual ConventionPrimitivePropertyConfiguration IsFixedLength()

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