Tag: SQL
Why you should use a DTO to send to your API instead of the class itself
IWhen I first started putting together the API for my dnd app, I was just using whatever model I had on the backend as the expected argument from the body. This worked fine for basic stuff, but eventually I ran into a problem. Take a look at my location class: In it, I say that… Read more
Entity Framework Fundamental: How Foreign Keys work within your code
I am loving how much time Entity Framework (EF) is saving me in developing my database. It’s easy to abstract ideas into code and let it handle the SQL. I do worry a bit that I will start to get rust on my raw SQL knowledge, so I will have to make a note to… Read more