Microsoft.EntityFrameworkCore.SqlServer
EF Core provider for SQL Server with broad feature support and deep integration with Microsoft data tooling.
Decision Guide
Entity Framework Core is a platform plus provider model. The most important decision is not only using EF Core, but selecting the provider and tooling combination that matches your SQL dialect, migration discipline and performance envelope.
The decision to make
Which EF Core provider and tooling stack fits the database platform you operate?
Curated starting points to compare. Always evaluate suitability against your specific project requirements.
EF Core provider for SQL Server with broad feature support and deep integration with Microsoft data tooling.
EF Core provider for PostgreSQL with strong support for PostgreSQL-specific capabilities.
Community-driven EF Core provider for MySQL and compatible engines.
Pin all Microsoft.EntityFrameworkCore packages and the selected provider to the same major and minor version. Add the provider through the application's composition root, then enable detailed errors only outside production.
Model one bounded context at a time. Use migrations as reviewed source files, generate a deployment script or bundle in CI, and apply schema changes through the release process instead of at application startup.
Measure real queries before optimizing. Project only required columns, use no-tracking queries for reads, paginate deterministically, and inspect generated SQL plus execution plans for expensive endpoints.
Risk
Checklist
Re-evaluate EF Core package strategy when changing database engines, adopting advanced provider features, or introducing stricter migration governance.