May 2012
Intermediate to advanced
544 pages
17h 23m
English
In This Chapter
• Customizing Entity Framework Code Generation
• Validating Entity State Changes
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 System.ComponentModel.DataAnnotations ...
Read now
Unlock full access