Chapter 3. Validation and Changes
In this chapter, we will cover the following topics:
- Validating simple properties
- Validating the whole entity
- Validating groups of entities
- Intercepting saving changes
- Intercepting property changes
- Setting the state of an entity
- Improving MVC UI with Entity Framework validation
- Inserting, updating, and deleting entities with stored procedures
- Updating the database from model changes
- Dumping the SQL script for the database creation