Redundancy in DAL/BLL classes
Hello,
This topic has been mentioned before but I can't help but to mention it again, since none of the answers I've seen are satisfactory..
If you look at the BLL classes and the DAL classes you're notice a lot of repetition (for instance Articls and ArticleDetails share many properties).
Now, as I sit down and type my code, something inside me tells me I'm doing something wrong.. I keep copying and pasting. All this for the sake of separating layers ?
Why don't we have some class called "ArticleInfo" which becomes a member object in both ArticleDetails and Articls and contains the common structures ?
|