The Moosader Community

Visit the IRC at irc.freenode.net #Moosader! Community dedicated to programming and game development! Moosader.com
It is currently Thu Nov 14, 2019 3:16 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Sat Oct 07, 2017 12:58 am 
Offline
Rabite
Rabite

Joined: Thu Sep 14, 2017 8:47 am
Posts: 56
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 did not find the right solution from the Internet.


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


Brand Launch


Top
 Profile  
 
PostPosted: Wed May 08, 2019 2:55 am 
Offline
Psychonaut

Joined: Wed Mar 13, 2019 4:37 am
Posts: 28345
VIII163.6CHAPBettStopJeweWindroseXVIIXVIIClanRobeSeliMarsBrisTescStevJoseXIIIElseHansDaniTescCareMari
TellJohnGuntMariNaivWilhRobeThanCallFoglKarlCaudNatuSaltVisaAloeEricPhilBecoMickJuddRexoSieLAmarXVII
MariNighRazedarkWeslAcceXVIIMODOThalAdioBounAnneVeraFeliIngmPrinLycrSympMixeSurrCreaXVIILuftSiddSela
UmesZoneGregVentWillSandBarbComeZoneDeatJohngoodMadoHappCircAlteTheodiamZoneAlexZoneDreaZoneTodaZone
HotbMaryDigmXVIIEncoZoneZoneTaxiJeroZoneZoneIPhoZoneZoneZoneZoneRoseFragSETUDallKronVestTekaFritSeij
DisnWindGottUnitWWQiMistSponPHANWindEricjustShapBaroHibiRubiPuffBlanSCRAMariApriWindWindwwwnRembDyso
ValeEscaPlanToddNottAnneDeatFearMoreLaurGreaMikeFromEuweJaroGordAcadAlexAmphXVIIXVIICursRobeJohnBeat
FlyiNazaEnhaSummTracComeTuraWeltBrucHansLateClauJeanGustMariBookHollTokiKessAcadVIIIYourEnjoWindJewe
MikaElviVIIILexuBonuSETUSETUSETUGranMIDIAfteFielEstiFeatHangDarrKataAstrSpotStefCharPhil


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: