Entity Framework Core

10 cards

1 / 1000

When yes

The primary way to work with a database in .NET. CRUD, migrations, LINQ queries

When no

High-performance bulk operations (use Dapper or SqlBulkCopy). Real-time with very high RPS — tracking overhead

Interview tip

DbContext = Unit of Work. SaveChanges() is a single transaction. Never register it as Singleton.