PreDefined Class Description

Validation Context:

This class describes the type or member on which validation is performed. It also enables custom validation to be added through any service that implements the IServiceProvider interface.

Validation Result:
Represents a container for the results of a validation request.


DataAnnotation:
Data Annotations help us to define the rules to the model classes or properties for data validation and displaying suitable messages to end users.