In past projects with versions of EF5 and EF4, the IsRequired() fluent API method would thrown a DbEntityValidationException if the property was null or an empty string. In my
These days you can still use [Required] attribute and have configurable AllowEmptyStrings
[Required]
AllowEmptyStrings
[Required(AllowEmptyStrings = false)]
False is default