---
title: "microsoft.entityframeworkcore.sqlserver (nuget) | Since.dev"
description: "What each microsoft.entityframeworkcore.sqlserver release removed, renamed or changed: 40 breaking changes in 11 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/microsoft.entityframeworkcore.sqlserver
last_updated: 2026-12-04
---

# microsoft.entityframeworkcore.sqlserver breaking changes

microsoft.entityframeworkcore.sqlserver 11.0.0 (November 10, 2026) is its newest release with breaking changes. The first: Removed Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults. Every breaking API change we have recorded in microsoft.entityframeworkcore.sqlserver on NuGet: 40 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `11.0.0`, released November 10, 2026. [Source repository](https://github.com/dotnet/dotnet)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [10.0.0](#v-10-0-0) to [11.0.0](#v-11-0-0): 1 breaking change in 1 version.
- From [7.0.0](#v-7-0-0) to [11.0.0](#v-11-0-0): 26 breaking changes in 5 versions.

## microsoft.entityframeworkcore.sqlserver 11.0.0 breaking changes

microsoft.entityframeworkcore.sqlserver 11.0.0, released November 10, 2026: 1 breaking change.

- **Removed** `Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults`  

Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults was removed in Microsoft.EntityFrameworkCore.SqlServer 11.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/11.0.0)

## microsoft.entityframeworkcore.sqlserver 10.0.0 breaking changes

microsoft.entityframeworkcore.sqlserver 10.0.0, released November 11, 2025: 6 breaking changes.

- **Removed** `Microsoft.EntityFrameworkCore.Diagnostics.SqlServerEventId.JsonTypeExperimental`  

Microsoft.EntityFrameworkCore.Diagnostics.SqlServerEventId.JsonTypeExperimental was removed in Microsoft.EntityFrameworkCore.SqlServer 10.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Infrastructure.AzureSqlDbContextOptionsBuilder`  

Was class AzureSqlDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder\<Microsoft.EntityFrameworkCore.Infrastructure.AzureSqlDbContextOptionsBuilder... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder`  

Was class AzureSynapseDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder\<Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Infrastructure.SqlEngineDbContextOptionsBuilder`  

Was class SqlEngineDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder\<Microsoft.EntityFrameworkCore.Infrastructure.SqlEngineDbContextOptionsBuilder... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder`  

Was class SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder\<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator.DropDefaultConstraint`  

Was protected virtual void DropDefaultConstraint(string schema, string tableName, string columnName, Microsoft.EntityFrameworkCore.Migrations.MigrationCommandListBuilder builder); now protected virtual void DropDefaultConstraint(string... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/10.0.0)

## microsoft.entityframeworkcore.sqlserver 9.0.0 breaking changes

microsoft.entityframeworkcore.sqlserver 9.0.0, released November 12, 2024: 13 breaking changes.

- **Behavior changed**  

Comparisons involving null operands now return false as in C#, instead of using database null semantics, so filters and projections may return different rows or values than before. [learn.microsoft.com](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
- **Behavior changed**  

Comparisons where an operand is null now return false, as in C#, instead of using database null semantics. Review queries that negate nullable comparisons or project them, since their results can change. [learn.microsoft.com](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
- **Behavior changed**  

Documents now store only the key value in the id property. Existing documents in the old format can no longer be queried, and an API exists to revert to the previous behavior. [learn.microsoft.com](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)
- **Behavior changed** `DbContextOptions`  

The nongeneric DbContextOptions registration was reverted during the 9.0 cycle; check how DbContextOptions is registered in your dependency injection setup. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Behavior changed** `ILazyLoader`  

ILazyLoader no longer derives from IDisposable, so code that disposes a lazy loader instance no longer compiles. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Behavior changed** `IStateManager.StartTrackingFromQuery`  

The parameter type of IStateManager.StartTrackingFromQuery changed from ValueBuffer to ISnapshot; callers must update. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Behavior changed** `ITableMappingBase.IncludesDerivedTypes`  

ITableMappingBase.IncludesDerivedTypes now returns null instead of false when no derived types exist. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Behavior changed** `Microsoft.EntityFrameworkCore.SqlServer`  

The release notes list only pull request titles; they do not describe concrete breaking changes for the SQL Server provider, so no specific change could be confirmed from this document. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Behavior changed** `Take`  

SQL Server Take(0) query translation was changed, which may alter results for existing queries. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0)
- **Default changed**  

The default discriminator property changed from Discriminator to $type. Existing documents with the old property name can no longer be queried unless the previous naming is configured. [learn.microsoft.com](https://learn.microsoft.com/ef/core/what-is-new/ef-core-9.0/whatsnew)

And 3 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## microsoft.entityframeworkcore.sqlserver 9.0.0-preview.4.24267.1 breaking changes

microsoft.entityframeworkcore.sqlserver 9.0.0-preview.4.24267.1, released November 12, 2024: 1 breaking change.

- **Behavior changed**  

The Azure Cosmos DB for NoSQL provider now blocks synchronous (blocking) access from application code by default, so code calling synchronous methods must switch to the async equivalents. [github.com](https://github.com/dotnet/efcore/releases/tag/v9.0.0-preview.4.24267.1)

## microsoft.entityframeworkcore.sqlserver 8.0.0 breaking changes

microsoft.entityframeworkcore.sqlserver 8.0.0, released November 14, 2023: 5 breaking changes.

- **Behavior changed**  

Handling of non-nullable store-generated properties on updates has changed. Review entities that rely on the previous update behavior. [github.com](https://github.com/dotnet/efcore/releases/tag/v8.0.0)
- **Behavior changed**  

String key comparisons on SQL Server use case-insensitive collation behavior. Code relying on case-sensitive key matching may change results. [github.com](https://github.com/dotnet/efcore/releases/tag/v8.0.0)
- **Behavior changed**  

The TPH discriminator property now has MaxLength set by convention. Schemas and migrations may change for existing models. [github.com](https://github.com/dotnet/efcore/releases/tag/v8.0.0)
- **Behavior changed**  

Enum values in JSON columns are written as integers rather than strings. Check existing JSON data and queries that depend on the string form. [github.com](https://github.com/dotnet/efcore/releases/tag/v8.0.0)
- **Behavior changed**  

Numeric rowversion properties are automatically converted to binary. Check mappings that relied on the previous type. [github.com](https://github.com/dotnet/efcore/releases/tag/v8.0.0)

## microsoft.entityframeworkcore.sqlserver 7.0.0 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0, released November 7, 2022: 4 breaking changes.

- **Signature changed** `Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.EnableRetryOnFailure`  

Was virtual Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder EnableRetryOnFailure(int maxRetryCount, System.TimeSpan maxRetryDelay, System.Collections.Generic.ICollection\<int> errorNumbersToAdd); now virtual... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/7.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerRuntimeModelConvention.ProcessEntityTypeAnnotations`  

Was protected virtual void ProcessEntityTypeAnnotations(System.Collections.Generic.IDictionary\<string, object> annotations, Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/7.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Metadata.Conventions.SqlServerRuntimeModelConvention.ProcessKeyAnnotations`  

Was protected virtual void ProcessKeyAnnotations(System.Collections.Generic.IDictionary\<string, object> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool... [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/7.0.0)
- **Signature changed** `Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator.UseLegacyIndexFilters`  

The signature of Microsoft.EntityFrameworkCore.Migrations.SqlServerMigrationsSqlGenerator.UseLegacyIndexFilters changed in Microsoft.EntityFrameworkCore.SqlServer 7.0.0 [nuget.org](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore.SqlServer/7.0.0)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### microsoft.entityframeworkcore.sqlserver 7.0.0-rc.1.22426.7 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0-rc.1.22426.7, released November 7, 2022: 4 breaking changes.

- **Behavior changed**  

SaveChanges no longer wraps single changes in a transaction where it is not needed. Code that depended on that implicit transaction must manage its own transaction. [github.com](https://github.com/dotnet/efcore/releases/tag/v7.0.0-rc.1.22426.7)
- **Behavior changed**  

The ContextInitialized event now logs at Debug level, so log filters that expected it at Information will no longer show it. [github.com](https://github.com/dotnet/efcore/releases/tag/v7.0.0-rc.1.22426.7)

And 2 more in this version.

### microsoft.entityframeworkcore.sqlserver 7.0.0-preview.7.22376.2 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0-preview.7.22376.2, released November 7, 2022: 1 breaking change.

- **Behavior changed** `DbContext.SaveChanges`  

EF Core stops wrapping single changes in transactions where possible. Code relying on that implicit transaction may need an explicit one. [github.com](https://github.com/dotnet/efcore/releases/tag/v7.0.0-preview.7.22376.2)

### microsoft.entityframeworkcore.sqlserver 7.0.0-preview.3.22175.1 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0-preview.3.22175.1, released November 7, 2022: 1 breaking change.

- **Behavior changed** `DbContext.SaveChanges`  

Orphaned dependents of optional relationships with cascade delete configured are no longer deleted automatically. Review code that relied on this cleanup. [github.com](https://github.com/dotnet/efcore/releases/tag/v7.0.0-preview.3.22175.1)

### microsoft.entityframeworkcore.sqlserver 7.0.0-alpha3 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0-alpha3, released November 7, 2022: 1 breaking change.

- **Removed** `Enable-Migrations`  

The Enable-Migrations command is no longer required or available. Use Add-Migration and Update-Database from the EntityFramework.Design package instead. [github.com](https://github.com/dotnet/efcore/releases/tag/7.0.0-alpha3)

### microsoft.entityframeworkcore.sqlserver 7.0.0-alpha2 breaking changes

microsoft.entityframeworkcore.sqlserver 7.0.0-alpha2, released November 7, 2022: 3 breaking changes.

- **Removed** `DbContext.Database.Exists`  

Fine-grained DDL methods on DbContext.Database such as Exists() are no longer directly on it. Call AsRelational() first, or use the generic EnsureCreated() and EnsureDeleted(). [github.com](https://github.com/dotnet/efcore/releases/tag/7.0.0-alpha2)
- **Removed** `DbContext.Database.HasTables`  

HasTables() is no longer directly on DbContext.Database. Call AsRelational() first, or use the generic EnsureCreated() and EnsureDeleted(). [github.com](https://github.com/dotnet/efcore/releases/tag/7.0.0-alpha2)

And 1 more in this version.

## Related packages

- [microsoft.aspnetcore.app.ref](https://since.dev/packages/nuget/microsoft.aspnetcore.app.ref.md)
- [microsoft.aspnetcore.components.webassembly](https://since.dev/packages/nuget/microsoft.aspnetcore.components.webassembly.md)
- [microsoft.aspnetcore.components](https://since.dev/packages/nuget/microsoft.aspnetcore.components.md)
- [microsoft.entityframeworkcore](https://since.dev/packages/nuget/microsoft.entityframeworkcore.md)
- [system.diagnostics.diagnosticsource](https://since.dev/packages/nuget/system.diagnostics.diagnosticsource.md)
- [microsoft.entityframeworkcore.design](https://since.dev/packages/nuget/microsoft.entityframeworkcore.design.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
