BinaryPropertyConfiguration.IsRequired Method ()

 

Configures the property to be required. The database column used to store this property will be non-nullable.

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

public BinaryPropertyConfiguration IsRequired()

Return Value

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

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