System.ComponentModel.DataAnnotations.CompareAttribute
Provides an attribute that compares two properties.
Gets the property to compare with the current property.
Gets the display name of the other property.
Initializes a new instance of the CompareAttribute class.