O'Reilly logo

Building Enterprise Applications with Windows® Presentation Foundation and the Model View ViewModel Pattern by Raffaele Garofalo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Business Rule Is Not a Validation Rule

A Validation Rule is any criterion that describes how to validate a specific value of a specific object. Examples include the field length constraint for a database table, or the “Required Field” messages displayed in a View. Validation Rules are usually applied to an object that needs to be validated before its value is saved to the data store or before it’s processed by another transaction that requires the value to be valid.

In contrast, a Business Rule is any rule that acts to change the value of an object, based on a set of rules or based on a specific behavior. Often, Business Rules have the sole purpose of informing users whether an action can or cannot be executed after the evaluation of specific ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required