Share via


StringPropertyConfiguration.IsFixedLength Method

Definition

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

public System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration IsFixedLength ();
override this.IsFixedLength : unit -> System.Data.Entity.ModelConfiguration.Configuration.StringPropertyConfiguration
Public Function IsFixedLength () As StringPropertyConfiguration

Returns

The same StringPropertyConfiguration instance so that multiple calls can be chained.

Applies to