Does the .NET framework violate S.O.L.I.D?

General discussion about design and development of AR applications
Rayancaleb
Posts: 54
Joined: Sat Sep 09, 2017 12:01 am

Does the .NET framework violate S.O.L.I.D?

Postby Rayancaleb » Thu Sep 21, 2017 4:27 am

Hi,

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?
Please help.

Thanks!

I didn't find the right solution from the Internet.

References:http://www.dreamincode.net/forums/topic/405248-does-the-net-framework-violate-solid/

company introduction animation

Return to “AR software design and development”

Who is online

Users browsing this forum: No registered users and 1 guest