In part 1 of this article, I explained how to implement proper data encapsulation. In part 2 I want to talk about encapsulating business logic. I see this missing in a lot of type design, especially when using an ORM like Entity Framework.
source https://www.c-sharpcorner.com/article/proper-type-encapsulation-part-two/
No comments:
Post a Comment