After talking with some folks about it, I did some refactoring to the structure.
Just to remind you my purpose:
The actions I took:
In the ideal world, the entity would know how to validate it self, from A to Z, but the problem is that the validations change according to the required action(Insert, Delete, Update) and I don't want to couple my entity with my DAL. I decided to split the "validation" checking in two - some of it in my Entities layer and the other some, in my Data-Access layer.
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2009, Oren Ellenbogen
<= Contact me via E-mail
newtelligence dasBlog 2.2.8279.16125