microsoft.entityframeworkcore.sqlserver breaking changes
Updated December 4, 2026
On this page
Latest version 11.0.0, released November 10, 2026. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
- From 10.0.0 to 11.0.0: 1 breaking change in 1 version.
- From 7.0.0 to 11.0.0: 26 breaking changes in 5 versions.
microsoft.entityframeworkcore.sqlserver 11.0.0 breaking changes
- Removed
Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults
Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder.UseAzureSqlDefaults was removed in Microsoft.EntityFrameworkCore.SqlServer 11.0.0 nuget.org
microsoft.entityframeworkcore.sqlserver 10.0.0 breaking changes
- Removed
Microsoft.EntityFrameworkCore.Diagnostics.SqlServerEventId.JsonTypeExperimental
Microsoft.EntityFrameworkCore.Diagnostics.SqlServerEventId.JsonTypeExperimental was removed in Microsoft.EntityFrameworkCore.SqlServer 10.0.0 nuget.org - Signature changed
Microsoft.EntityFrameworkCore.Infrastructure.AzureSqlDbContextOptionsBuilder
Was class AzureSqlDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.AzureSqlDbContextOptionsBuilder... nuget.org - Signature changed
Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder
Was class AzureSynapseDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.AzureSynapseDbContextOptionsBuilder... nuget.org - Signature changed
Microsoft.EntityFrameworkCore.Infrastructure.SqlEngineDbContextOptionsBuilder
Was class SqlEngineDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlEngineDbContextOptionsBuilder... nuget.org - Signature changed
Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder
Was class SqlServerDbContextOptionsBuilder : Microsoft.EntityFrameworkCore.Infrastructure.RelationalDbContextOptionsBuilder<Microsoft.EntityFrameworkCore.Infrastructure.SqlServerDbContextOptionsBuilder... nuget.org - 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
microsoft.entityframeworkcore.sqlserver 9.0.0 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 - 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 - 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 - 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 - Behavior changed
ILazyLoader
ILazyLoader no longer derives from IDisposable, so code that disposes a lazy loader instance no longer compiles. github.com - Behavior changed
IStateManager.StartTrackingFromQuery
The parameter type of IStateManager.StartTrackingFromQuery changed from ValueBuffer to ISnapshot; callers must update. github.com - Behavior changed
ITableMappingBase.IncludesDerivedTypes
ITableMappingBase.IncludesDerivedTypes now returns null instead of false when no derived types exist. github.com - 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 - Behavior changed
Take
SQL Server Take(0) query translation was changed, which may alter results for existing queries. github.com - 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
And 3 more in this version. Sign up to see every change
microsoft.entityframeworkcore.sqlserver 9.0.0-preview.4.24267.1 breaking changes
- 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
microsoft.entityframeworkcore.sqlserver 8.0.0 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 - 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 - Behavior changed
The TPH discriminator property now has MaxLength set by convention. Schemas and migrations may change for existing models. github.com - 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 - Behavior changed
Numeric rowversion properties are automatically converted to binary. Check mappings that relied on the previous type. github.com
microsoft.entityframeworkcore.sqlserver 7.0.0 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 - 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 - 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 - 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
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
microsoft.entityframeworkcore.sqlserver 7.0.0-rc.1.22426.7 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 - 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
And 2 more in this version.
microsoft.entityframeworkcore.sqlserver 7.0.0-preview.7.22376.2 breaking changes
- 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
microsoft.entityframeworkcore.sqlserver 7.0.0-preview.3.22175.1 breaking changes
- 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
microsoft.entityframeworkcore.sqlserver 7.0.0-alpha3 breaking changes
- 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
microsoft.entityframeworkcore.sqlserver 7.0.0-alpha2 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 - Removed
DbContext.Database.HasTables
HasTables() is no longer directly on DbContext.Database. Call AsRelational() first, or use the generic EnsureCreated() and EnsureDeleted(). github.com
And 1 more in this version.
Related packages
- microsoft.aspnetcore.app.ref
- microsoft.aspnetcore.components.webassembly
- microsoft.aspnetcore.components
- microsoft.entityframeworkcore
- system.diagnostics.diagnosticsource
- microsoft.entityframeworkcore.design
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.