In This Chapter
Validation of entities is one of the key aspects of business logic. The .NET Framework introduced a new validation framework in Service Pack 1 of version 3.5, at the same time the first version of Dynamic Data was released. This framework is implemented in the
System.ComponentModel.DataAnnotations namespace and contains a set of attributes and classes for validating objects and their properties.
The Data Annotations namespace is defined in a separate assembly called