StringColumnConfiguration.IsRequired Method ()

Entity Framework 6.0
 

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.

Return to top
Show: