Chris Klug keeps seeing developers using Entity Framework in less optimal ways. Microsoft's open-source object-relational mapper (ORM) for .NET applications is not intended to be used to replicate the ...
Even in a Code First environment, you can call a stored procedure from a DbContext object. But it's a lot easier if you use the visual designer. I frequently get asked if Entity Framework (EF) in a ...
A typical screen in your user interface probably combines data from several different tables. To handle that, I typically have my back-end processes generate Data Transfer Objects (DTOs) which combine ...
Take advantage of these 10 strategies to improve data access performance when using Entity Framework Core in your data-driven .NET applications. Entity Framework Core (EF Core) is an open source ORM ...
When we build database-backed enterprise applications, we generally want to isolate our entity models, the DbContext, and the logic for database initialization and migration to maintain a clean ...