ConventionPrimitivePropertyConfiguration.IsOptional Method ()

 

Configures the property to be optional. The database column used to store this property will be nullable.

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

public virtual ConventionPrimitivePropertyConfiguration IsOptional()

Calling this will have no effect once it has been configured.