0

I am looking for a better and clean way to do validation in my domain entities.

Time ago I read a great article here at http://codeinsanity.com/archive/2008/12/02/a-framework-for-validation-and-business-rules.aspx

It is also referenced here:

DDD Using Specification pattern for Validation

The original article is not available anymore at the Web site. Does someone have a copy of the article or could recommend me similar approaches?

Community
  • 1
  • 1
  • Archived copy (latest): https://web.archive.org/web/http://codeinsanity.com/archive/2008/12/02/a-framework-for-validation-and-business-rules.aspx – tne Sep 02 '14 at 11:34

1 Answers1

0

Have you considered to just do your validation inside the CTOR and all methods that modify the state?

oakman
  • 297
  • 1
  • 8