MM .NET
Business
Rule class
es
tracks two types of errors:
- Broken business rules
- Application warnings
Broken business rules (such as
required fields that are empty)
prevent data from being saved. In
contrast, a warning is simply a
message that can be displayed to the
user as a word of caution, but still
allows data to be saved. For
example, you may want to warn the
user that, although a specific piece
of information is not required, if
they don't enter this information
then something may go wrong.
The beauty of
having business rules enforced in
the business layer is that rules are
enforced the exact same way in both
Windows and Web applications.