difference DBblogPost - Blogpost

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
15 years ago
Hello,

In blogpost and dbblogpost class I see the same properties, why is this duplicate in code?

Thanks
15 years ago
DBBlogPost class wraps the blog post's entire data read from [Nop_BlogPost] table. It's used in data access layer.

BlogPost class is used in presentation layer and business access layer. It wraps the same entire data. Plus it can contain custom properties, some specific methods.

I recommend you to look at DBProduct/Product class to understand the difference between DAL/BLL classes.
15 years ago
Thanks for the quick reply!
Is there any documentation coming on this way of working?

Are you satisfied with the n-tier result you guys have achieved? Can it be an example for beginning developers or would you do it differently if you could?

Kind Regards
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.