System.ComponentModel.DataAnnotations.RangeAttribute
Specifies the numeric range constraints for the value of a data field.
Gets or sets a value that determines whether any conversions of the value being validated to OperandType as set by the type parameter of the #ctor constructor use the invariant culture or the current culture.
Gets the maximum allowed field value.
Gets the minimum allowed field value.
Gets the type of the data field whose value must be validated.
Gets or sets a value that determines whether string values for Minimum and Maximum are parsed using the invariant culture rather than the current culture.
Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values.
Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values.
Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values and the specific type.