From 002c4a2c2532714189c10bf4138671c0ef26f057 Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Sat, 17 Jan 2026 17:04:35 +1030 Subject: [PATCH 1/2] Change BillingAddress to allow NULL values "NOT NULL NULL" is not valid T-SQL. Given it refers to the previous type, allowing this column to be nullable seems to be what was intended. --- entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md index 43996e7037..f91b34e65d 100644 --- a/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md +++ b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md @@ -304,7 +304,7 @@ CREATE TABLE [Customers] ( [Id] int NOT NULL IDENTITY, [Name] nvarchar(max) NOT NULL, [ShippingAddress] json NOT NULL, - [BillingAddress] json NOT NULL NULL, + [BillingAddress] json NULL, CONSTRAINT [PK_Customers] PRIMARY KEY ([Id]) ); ``` From 87e843c36210a02103dcf2f3d9715e01011e6279 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Sun, 18 Jan 2026 11:20:20 +0100 Subject: [PATCH 2/2] Update entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md --- entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md index f91b34e65d..67b9ce80ad 100644 --- a/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md +++ b/entity-framework/core/what-is-new/ef-core-10.0/whatsnew.md @@ -304,7 +304,7 @@ CREATE TABLE [Customers] ( [Id] int NOT NULL IDENTITY, [Name] nvarchar(max) NOT NULL, [ShippingAddress] json NOT NULL, - [BillingAddress] json NULL, + [BillingAddress] json NOT NULL, CONSTRAINT [PK_Customers] PRIMARY KEY ([Id]) ); ```