I see some classes in the .net framework that support reading and writing, saving and loading, classes whose main responsibility are not those, for instance the Stream classes and the XML Dom/XLinq classes.
Since the .net framework apparently violates the Single Responsibility Principle, should I create entity classes with methods for database storage and retrieval? In other words, should my custom entity classes (not using entity framework), be responsible for accessing a database, or should I create a separate class for that?
I didn't find the right solution from the Internet.
company introduction animation
General discussion about design and development of AR applications
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest