CachedDataAnnotationsMetadataAttributes.Required Property
Indicates whether a data field is required.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Property Value
Type: System.ComponentModel.DataAnnotations.RequiredAttributetrue if the field is required; otherwise, false.
Show: