Summary
Let's get a quick summary of the contents of this chapter.
We'll cover the following...
Key takeaways
-
Constraints are logical conditions on the data of an application. The simplest and most important types of constraints are property constraints and object-level constraints.
-
Constraints should be defined in the model classes of an MVC application since they are part of their business semantics.
-
Constraints should be checked in various places of an ...