⟩⟩ Tag
Dot-Net
3 posts tagged “Dot-Net”.
03
010203
Hyerarchichal test data generators
So, you got some massive legacy service methods were mocking your data store is unfeasible or some situation where, for efficiency reasons, it’s convenient that your logic is executed in the data store. And you got to write some automated checks to make sure that some of the assumptions you will make on your code are valid. For that, you need real records in a real database.
Dec 2021 · 4 min
Doing non-breaking migrations in Entity Framework Core
So, you’re using an Object Relational Mapper of any kind and you have to, let’s say, remove a field from one of your models. This is a breaking change, as your contract with the database is going to break. If you have a small project that you can just take down for every release, that’s not a big deal, but:
Dec 2020 · 6 min
Many-to-many relationships in Entity Framework Core 5 and 3
Scenario is quite simple, you got two tables and you have to stablish a relation between both. Be it fruit baskets and basket makers. One maker can make many baskets and they can also collaborate, having a basket be made by different people.
Dec 2020 · 4 min