#I am doing it correctly? (Database Manager)
10 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @lucid ocean! Please use
/closeor theClose Postbutton above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
I suggest you narrow down the question. 🙂
What parts are you unsure about, what would you like to have an opinion on?
The way I made it, like everything
I am using multiple class for each category of commands in sql
for data access you would usually use the repository pattern https://medium.com/@pererikbergman/repository-design-pattern-e28c0f3e4a30
The repository pattern is one of the more popular patterns at the moment. I for one like it, it follows the solid principles and done right…
so there's one class that's responsible for inserting/updating/deleting/etc a single type of entity e.g. a book in your case, instead of breaking out the operations into one per class like you currently have done
aight, thanks
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.