StringColumnConfiguration.IsRequired Method ()

 

Configures the column to be required.

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

public StringColumnConfiguration IsRequired()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration.StringColumnConfiguration

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