ConventionPrimitivePropertyConfiguration.IsRequired Method ()
Configures the property to be required. The database column used to store this property will be non-nullable.
Assembly: EntityFramework (in EntityFramework.dll)
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.ConventionPrimitivePropertyConfigurationThe same ConventionPrimitivePropertyConfiguration instance so that multiple calls can be chained.
Calling this will have no effect once it has been configured.