Take advantage of the DbContext in Entity Framework Core to connect to a database and perform CRUD operations using CLR objects Microsoft’s Entity Framework is an open-source object-relational mapper, ...
How to use the InMemory provider in Entity Framework Core to test your methods without hitting the database or using fakes and mocks The InMemory database provider is an exciting feature in newer ...
In both deletes and updates there's an assumption that you have to retrieve the corresponding entity object from the database. With an update, you pull back the object so that you can set its ...
Sometimes you want child objects retrieved with the parent object, and sometimes you don't. What you NEVER want is to retrieve child objects accidentally. Here's Peter's advice on how to get the best ...