From 0c523d6e5a0ec026576f901904b3816056859cb0 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Mon, 24 Nov 2025 19:25:46 +0100 Subject: [PATCH 1/2] Correct issue link in breaking change note (#5177) --- .../core/what-is-new/ef-core-10.0/breaking-changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md b/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md index 8510c58550..d7801cf2d6 100644 --- a/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md +++ b/entity-framework/core/what-is-new/ef-core-10.0/breaking-changes.md @@ -137,7 +137,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) ### Parameterized collections now use multiple parameters by default -[Tracking Issue #36368](https://github.com/dotnet/efcore/issues/36368) +[Tracking Issue #34346](https://github.com/dotnet/efcore/issues/34346) #### Old behavior From 6deb580b1c5e430438e98f6e4053e4c36a664b3c Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Mon, 24 Nov 2025 21:27:35 +0100 Subject: [PATCH 2/2] Update samples for .NET and EF 10 (#5174) --- samples/NuGet.Config | 1 - samples/core/Benchmarks/Benchmarks.csproj | 6 ++--- .../core/CascadeDeletes/CascadeDeletes.csproj | 8 +++--- .../AccessingTrackedEntities.csproj | 6 ++--- .../AdditionalChangeTrackingFeatures.csproj | 6 ++--- .../ChangeDetectionAndNotifications.csproj | 8 +++--- .../ChangeTrackerDebugging.csproj | 6 ++--- .../ChangeTrackingInEFCore.csproj | 6 ++--- .../ChangingFKsAndNavigations.csproj | 6 ++--- .../IdentityResolutionInEFCore.csproj | 8 +++--- samples/core/Cosmos/Cosmos.csproj | 2 +- .../DbContextPooling/DbContextPooling.csproj | 4 +-- samples/core/GetStarted/EFGetStarted.csproj | 6 ++--- samples/core/Intro/Intro.csproj | 6 ++--- samples/core/Miscellaneous/Async/Async.csproj | 4 +-- .../CachingInterception.csproj | 4 +-- .../Collations/Collations.csproj | 4 +-- .../CommandInterception.csproj | 4 +-- .../CommandLine/CommandLine.csproj | 6 ++--- .../CompiledModels/CompiledModels.csproj | 6 ++--- .../CompiledModels/dotnet-tools.json | 2 +- .../ConfiguringDbContext.csproj | 10 ++++---- .../ConnectionInterception.csproj | 4 +-- .../ConnectionResiliency.csproj | 4 +-- .../DiagnosticListeners.csproj | 4 +-- .../core/Miscellaneous/Events/Events.csproj | 4 +-- .../Logging/Logging/Logging.csproj | 4 +-- .../SimpleLogging/SimpleLogging.csproj | 6 ++--- .../Multitenancy/Common/Common.csproj | 2 +- .../Multitenancy/MultiDb/MultiDb.csproj | 4 +-- .../SingleDbSingleTable.csproj | 4 +-- .../TenantControls/TenantControls.csproj | 4 +-- .../.config/dotnet-tools.json | 2 +- .../NewInEFCore6.Cosmos.csproj | 5 ++-- .../NewInEFCore6/.config/dotnet-tools.json | 2 +- .../NewInEFCore6/NewInEFCore6.csproj | 11 ++++---- .../NewInEFCore7/.config/dotnet-tools.json | 2 +- .../NewInEFCore7/NewInEFCore7.csproj | 17 +++++++------ .../NewInEFCore8/NewInEFCore8.csproj | 20 +++++++-------- .../App/App.csproj | 4 +-- .../Model/Model.csproj | 10 ++++---- .../NewInEFCore9.Cosmos.csproj | 4 +-- .../NewInEFCore9/NewInEFCore9.csproj | 22 ++++++++-------- .../NullableReferenceTypes.csproj | 6 ++--- .../SaveChangesInterception.csproj | 4 +-- .../BackingFields/BackingFields.csproj | 4 +-- .../BulkConfiguration.csproj | 4 +-- .../ConcurrencyTokens.csproj | 4 +-- .../Modeling/DataSeeding/DataSeeding.csproj | 6 ++--- .../Modeling/DynamicModel/DynamicModel.csproj | 4 +-- .../EntityProperties/EntityProperties.csproj | 4 +-- .../Modeling/EntityTypes/EntityTypes.csproj | 4 +-- .../IndexesAndConstraints.csproj | 4 +-- .../Modeling/Inheritance/Inheritance.csproj | 4 +-- .../KeylessEntityTypes.csproj | 4 +-- samples/core/Modeling/Keys/Keys.csproj | 4 +-- samples/core/Modeling/Misc/Misc.csproj | 4 +-- .../OwnedEntities/OwnedEntities.csproj | 6 ++--- .../Relationships/Relationships.csproj | 6 ++--- .../core/Modeling/Sequences/Sequences.csproj | 4 +-- .../ShadowAndIndexerProperties.csproj | 4 +-- .../TableSplitting/TableSplitting.csproj | 6 ++--- .../ValueConversions/ValueConversions.csproj | 6 ++--- .../AspNetContextPooling.csproj | 6 ++--- .../AspNetContextPoolingWithState.csproj | 6 ++--- samples/core/Performance/Other/Other.csproj | 7 +++--- .../ClientEvaluation/ClientEvaluation.csproj | 7 +++--- .../Querying/ComplexQuery/ComplexQuery.csproj | 6 ++--- .../NullSemantics/NullSemantics.csproj | 4 +-- .../core/Querying/Overview/Overview.csproj | 6 ++--- .../Querying/Pagination/Pagination.csproj | 6 ++--- .../Querying/RelatedData/RelatedData.csproj | 6 ++--- samples/core/Querying/Tags/Tags.csproj | 4 +-- .../core/Querying/Tracking/Tracking.csproj | 6 ++--- .../UserDefinedFunctionMapping/Model.cs | 25 ++++++++----------- .../UserDefinedFunctionMapping.csproj | 6 ++--- samples/core/Saving/Saving.csproj | 4 +-- .../core/Schemas/Migrations/Migrations.csproj | 4 +-- .../WebApplication1.Data.csproj | 4 +-- .../WebApplication1.Migrations.csproj | 2 +- .../WebApplication1/WebApplication1.csproj | 8 +++--- .../SqlServerMigrations.csproj | 2 +- .../SqliteMigrations/SqliteMigrations.csproj | 2 +- .../WorkerService1/WorkerService1.csproj | 8 +++--- .../Spatial/Projections/Projections.csproj | 2 +- .../core/Spatial/SqlServer/SqlServer.csproj | 6 ++--- samples/core/SqlServer/SqlServer.csproj | 4 +-- .../BloggingWebApi/BloggingWebApi.csproj | 2 +- .../BusinessLogic/BusinessLogic.csproj | 4 +-- .../TestingWithTheDatabase.csproj | 5 ++-- .../TestingWithoutTheDatabase.csproj | 9 +++---- .../PlanetaryDocs.DataAccess.csproj | 5 ++-- .../PlanetaryDocs.Domain.csproj | 2 +- .../PlanetaryDocs/PlanetaryDocs.csproj | 2 +- .../PlanetaryDocsLoader.csproj | 2 +- .../Tests/DomainTests/DomainTests.csproj | 4 +-- samples/global.json | 2 +- 97 files changed, 260 insertions(+), 268 deletions(-) diff --git a/samples/NuGet.Config b/samples/NuGet.Config index 0223c95d5f..6548586147 100644 --- a/samples/NuGet.Config +++ b/samples/NuGet.Config @@ -3,7 +3,6 @@ - diff --git a/samples/core/Benchmarks/Benchmarks.csproj b/samples/core/Benchmarks/Benchmarks.csproj index 1fd25c6828..b0d5c1679e 100644 --- a/samples/core/Benchmarks/Benchmarks.csproj +++ b/samples/core/Benchmarks/Benchmarks.csproj @@ -1,13 +1,13 @@  Exe - net8.0 + net10.0 true - - + + diff --git a/samples/core/CascadeDeletes/CascadeDeletes.csproj b/samples/core/CascadeDeletes/CascadeDeletes.csproj index 39d7a1f235..52d146ef8f 100644 --- a/samples/core/CascadeDeletes/CascadeDeletes.csproj +++ b/samples/core/CascadeDeletes/CascadeDeletes.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 - - - + + + diff --git a/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj b/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj index fcfafd76c8..e5eaa12b40 100644 --- a/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj +++ b/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj b/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj index fcfafd76c8..e5eaa12b40 100644 --- a/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj +++ b/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj b/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj index 01be6655bf..e198a361b6 100644 --- a/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj +++ b/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 - - - + + + diff --git a/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj b/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj index fcfafd76c8..e5eaa12b40 100644 --- a/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj +++ b/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj b/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj index fcfafd76c8..e5eaa12b40 100644 --- a/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj +++ b/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj b/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj index fcfafd76c8..e5eaa12b40 100644 --- a/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj +++ b/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj b/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj index d84d82edfc..1599379cee 100644 --- a/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj +++ b/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 - - - + + + diff --git a/samples/core/Cosmos/Cosmos.csproj b/samples/core/Cosmos/Cosmos.csproj index 7ba28aaa96..081b2b9a60 100644 --- a/samples/core/Cosmos/Cosmos.csproj +++ b/samples/core/Cosmos/Cosmos.csproj @@ -6,7 +6,7 @@ - + diff --git a/samples/core/DbContextPooling/DbContextPooling.csproj b/samples/core/DbContextPooling/DbContextPooling.csproj index 61b9c7923c..9e6b2d693b 100644 --- a/samples/core/DbContextPooling/DbContextPooling.csproj +++ b/samples/core/DbContextPooling/DbContextPooling.csproj @@ -1,10 +1,10 @@ Exe - net8.0 + net10.0 Samples - + diff --git a/samples/core/GetStarted/EFGetStarted.csproj b/samples/core/GetStarted/EFGetStarted.csproj index 3c56604be5..9b8254d35a 100644 --- a/samples/core/GetStarted/EFGetStarted.csproj +++ b/samples/core/GetStarted/EFGetStarted.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 $(MSBuildProjectDirectory) - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/samples/core/Intro/Intro.csproj b/samples/core/Intro/Intro.csproj index 457fe7c0dd..22956419ed 100644 --- a/samples/core/Intro/Intro.csproj +++ b/samples/core/Intro/Intro.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 $(MSBuildProjectDirectory) - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/samples/core/Miscellaneous/Async/Async.csproj b/samples/core/Miscellaneous/Async/Async.csproj index 68695caf3c..c4475eebeb 100644 --- a/samples/core/Miscellaneous/Async/Async.csproj +++ b/samples/core/Miscellaneous/Async/Async.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFAsync EFAsync - + diff --git a/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj b/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj index a6f8f3ff5b..21d10ca0ac 100644 --- a/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj +++ b/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/Collations/Collations.csproj b/samples/core/Miscellaneous/Collations/Collations.csproj index 326b6b0f6a..598f97e05b 100644 --- a/samples/core/Miscellaneous/Collations/Collations.csproj +++ b/samples/core/Miscellaneous/Collations/Collations.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFCollations EFCollations - + diff --git a/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj b/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj index ff1e4880e7..18d0804f27 100644 --- a/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj +++ b/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/CommandLine/CommandLine.csproj b/samples/core/Miscellaneous/CommandLine/CommandLine.csproj index e7433bff38..7ff8efdfb2 100644 --- a/samples/core/Miscellaneous/CommandLine/CommandLine.csproj +++ b/samples/core/Miscellaneous/CommandLine/CommandLine.csproj @@ -1,12 +1,12 @@  - net8.0 + net10.0 - - + + diff --git a/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj b/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj index 54d2e90c19..6f575a50a2 100644 --- a/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj +++ b/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json b/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json index e3cadb92fc..530896d9cd 100644 --- a/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json +++ b/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-ef": { - "version": "8.0.0", + "version": "10.0.0", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj b/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj index 5c4f6ce07a..8834ff8664 100644 --- a/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj +++ b/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj @@ -1,16 +1,16 @@  - net8.0 + net10.0 enable - - - - + + + + diff --git a/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj b/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj index f063051d2b..74fd2f4818 100644 --- a/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj +++ b/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj b/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj index 3d74d7d685..0ab9f9372e 100644 --- a/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj +++ b/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFConnectionResiliency EFConnectionResiliency - + diff --git a/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj b/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj index a6f8f3ff5b..21d10ca0ac 100644 --- a/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj +++ b/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/Events/Events.csproj b/samples/core/Miscellaneous/Events/Events.csproj index a6f8f3ff5b..21d10ca0ac 100644 --- a/samples/core/Miscellaneous/Events/Events.csproj +++ b/samples/core/Miscellaneous/Events/Events.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/Logging/Logging/Logging.csproj b/samples/core/Miscellaneous/Logging/Logging/Logging.csproj index adf2b27836..ced1f1128a 100644 --- a/samples/core/Miscellaneous/Logging/Logging/Logging.csproj +++ b/samples/core/Miscellaneous/Logging/Logging/Logging.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFLogging EFLogging - + diff --git a/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj b/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj index bb6287286b..249c290541 100755 --- a/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj +++ b/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj b/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj index 30402ac0e7..9ed914b5ba 100644 --- a/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj +++ b/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable diff --git a/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj b/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj index 6368edd32e..d9115c5e82 100644 --- a/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj +++ b/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj @@ -1,13 +1,13 @@  - net8.0 + net10.0 enable enable - + diff --git a/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj b/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj index 6368edd32e..d9115c5e82 100644 --- a/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj +++ b/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj @@ -1,13 +1,13 @@  - net8.0 + net10.0 enable enable - + diff --git a/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj b/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj index 2f158578e5..31d4564fbc 100644 --- a/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj +++ b/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable @@ -12,7 +12,7 @@ - + diff --git a/samples/core/Miscellaneous/NewInEFCore6.Cosmos/.config/dotnet-tools.json b/samples/core/Miscellaneous/NewInEFCore6.Cosmos/.config/dotnet-tools.json index e3cadb92fc..530896d9cd 100644 --- a/samples/core/Miscellaneous/NewInEFCore6.Cosmos/.config/dotnet-tools.json +++ b/samples/core/Miscellaneous/NewInEFCore6.Cosmos/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-ef": { - "version": "8.0.0", + "version": "10.0.0", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore6.Cosmos/NewInEFCore6.Cosmos.csproj b/samples/core/Miscellaneous/NewInEFCore6.Cosmos/NewInEFCore6.Cosmos.csproj index 25923d0177..c30f939001 100644 --- a/samples/core/Miscellaneous/NewInEFCore6.Cosmos/NewInEFCore6.Cosmos.csproj +++ b/samples/core/Miscellaneous/NewInEFCore6.Cosmos/NewInEFCore6.Cosmos.csproj @@ -2,12 +2,13 @@ Exe - net8.0 + net6.0 + $(NoWarn);NETSDK1138 - + diff --git a/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json b/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json index e3cadb92fc..530896d9cd 100644 --- a/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json +++ b/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-ef": { - "version": "8.0.0", + "version": "10.0.0", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore6/NewInEFCore6.csproj b/samples/core/Miscellaneous/NewInEFCore6/NewInEFCore6.csproj index 04eec172fa..83605662c2 100644 --- a/samples/core/Miscellaneous/NewInEFCore6/NewInEFCore6.csproj +++ b/samples/core/Miscellaneous/NewInEFCore6/NewInEFCore6.csproj @@ -2,15 +2,16 @@ Exe - net8.0 + net6.0 + $(NoWarn);NETSDK1138 - - - - + + + + diff --git a/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json b/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json index c03564f970..c854abd51f 100644 --- a/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json +++ b/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json @@ -3,7 +3,7 @@ "isRoot": true, "tools": { "dotnet-ef": { - "version": "8.0.0", + "version": "10.0.0", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore7/NewInEFCore7.csproj b/samples/core/Miscellaneous/NewInEFCore7/NewInEFCore7.csproj index 3a5ae50fa2..f33979e55f 100644 --- a/samples/core/Miscellaneous/NewInEFCore7/NewInEFCore7.csproj +++ b/samples/core/Miscellaneous/NewInEFCore7/NewInEFCore7.csproj @@ -2,20 +2,21 @@ Exe - net8.0 + net7.0 enable enable NewInEfCore7 + $(NoWarn);NETSDK1138 - - - - - - - + + + + + + + diff --git a/samples/core/Miscellaneous/NewInEFCore8/NewInEFCore8.csproj b/samples/core/Miscellaneous/NewInEFCore8/NewInEFCore8.csproj index 9266e61830..020c75f040 100644 --- a/samples/core/Miscellaneous/NewInEFCore8/NewInEFCore8.csproj +++ b/samples/core/Miscellaneous/NewInEFCore8/NewInEFCore8.csproj @@ -10,16 +10,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/App/App.csproj b/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/App/App.csproj index d0893b1f77..2f4dda63ad 100644 --- a/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/App/App.csproj +++ b/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/App/App.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net9.0 enable enable - + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/Model/Model.csproj b/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/Model/Model.csproj index 66c2064a9a..261bf5a494 100644 --- a/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/Model/Model.csproj +++ b/samples/core/Miscellaneous/NewInEFCore9.CompiledModels/Model/Model.csproj @@ -2,7 +2,7 @@ library - net8.0 + net9.0 enable enable NewInEfCore9 @@ -15,13 +15,13 @@ - + runtime; build; native; contentfiles; analyzers; buildtransitive all - - - + + + diff --git a/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj b/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj index 0e4ad15bea..a90387728a 100644 --- a/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj +++ b/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Miscellaneous/NewInEFCore9/NewInEFCore9.csproj b/samples/core/Miscellaneous/NewInEFCore9/NewInEFCore9.csproj index 02b03bce32..1c22a5563e 100644 --- a/samples/core/Miscellaneous/NewInEFCore9/NewInEFCore9.csproj +++ b/samples/core/Miscellaneous/NewInEFCore9/NewInEFCore9.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable enable NewInEfCore9 @@ -10,16 +10,16 @@ - - - - - - - - - - + + + + + + + + + + diff --git a/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj b/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj index ce86cc8f58..185af6ec77 100644 --- a/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj +++ b/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 8.0 enable - - + + diff --git a/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj b/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj index a6f8f3ff5b..21d10ca0ac 100644 --- a/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj +++ b/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Modeling/BackingFields/BackingFields.csproj b/samples/core/Modeling/BackingFields/BackingFields.csproj index 89eac803af..51c96c436b 100644 --- a/samples/core/Modeling/BackingFields/BackingFields.csproj +++ b/samples/core/Modeling/BackingFields/BackingFields.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.BackingFields EFModeling.BackingFields - + diff --git a/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj b/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj index f90f9efb62..a6e7034eb6 100644 --- a/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj +++ b/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFModeling.BulkConfiguration EFModeling.BulkConfiguration enable - + diff --git a/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj b/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj index 7d6f140b54..92d7bc1771 100644 --- a/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj +++ b/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.ConcurrencyTokens EFModeling.ConcurrencyTokens - + diff --git a/samples/core/Modeling/DataSeeding/DataSeeding.csproj b/samples/core/Modeling/DataSeeding/DataSeeding.csproj index 0000c4247b..adc0cf6441 100644 --- a/samples/core/Modeling/DataSeeding/DataSeeding.csproj +++ b/samples/core/Modeling/DataSeeding/DataSeeding.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFModeling.DataSeeding EFModeling.DataSeeding - - + + diff --git a/samples/core/Modeling/DynamicModel/DynamicModel.csproj b/samples/core/Modeling/DynamicModel/DynamicModel.csproj index 18ff91942c..115b38948a 100644 --- a/samples/core/Modeling/DynamicModel/DynamicModel.csproj +++ b/samples/core/Modeling/DynamicModel/DynamicModel.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.DynamicModel EFModeling.DynamicModel - + diff --git a/samples/core/Modeling/EntityProperties/EntityProperties.csproj b/samples/core/Modeling/EntityProperties/EntityProperties.csproj index 1779029a46..1c79c73e8b 100644 --- a/samples/core/Modeling/EntityProperties/EntityProperties.csproj +++ b/samples/core/Modeling/EntityProperties/EntityProperties.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.EntityProperties EFModeling.EntityProperties - + diff --git a/samples/core/Modeling/EntityTypes/EntityTypes.csproj b/samples/core/Modeling/EntityTypes/EntityTypes.csproj index 2ac15c43d4..3f444cbd9a 100644 --- a/samples/core/Modeling/EntityTypes/EntityTypes.csproj +++ b/samples/core/Modeling/EntityTypes/EntityTypes.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.EntityTypes EFModeling.EntityTypes - + diff --git a/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj b/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj index 6832ce2c32..beb5d93d11 100644 --- a/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj +++ b/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.IndexesAndConstraints EFModeling.IndexesAndConstraints - + diff --git a/samples/core/Modeling/Inheritance/Inheritance.csproj b/samples/core/Modeling/Inheritance/Inheritance.csproj index a88cd6747c..7bcbffe0eb 100644 --- a/samples/core/Modeling/Inheritance/Inheritance.csproj +++ b/samples/core/Modeling/Inheritance/Inheritance.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.Inheritance EFModeling.Inheritance - + diff --git a/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj b/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj index 05ab1181aa..fe9970008e 100644 --- a/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj +++ b/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.KeylessEntityTypes EFModeling.KeylessEntityTypes - + diff --git a/samples/core/Modeling/Keys/Keys.csproj b/samples/core/Modeling/Keys/Keys.csproj index 9310010757..5d985f68a8 100644 --- a/samples/core/Modeling/Keys/Keys.csproj +++ b/samples/core/Modeling/Keys/Keys.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.Keys EFModeling.Keys - + diff --git a/samples/core/Modeling/Misc/Misc.csproj b/samples/core/Modeling/Misc/Misc.csproj index 7d6f140b54..92d7bc1771 100644 --- a/samples/core/Modeling/Misc/Misc.csproj +++ b/samples/core/Modeling/Misc/Misc.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.ConcurrencyTokens EFModeling.ConcurrencyTokens - + diff --git a/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj b/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj index 2114c13dc8..1047ce46ec 100644 --- a/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj +++ b/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj @@ -2,17 +2,17 @@ Exe - net8.0 + net10.0 EFModeling.OwnedEntities EFModeling.OwnedEntities - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/samples/core/Modeling/Relationships/Relationships.csproj b/samples/core/Modeling/Relationships/Relationships.csproj index 20ed1fb921..7b5a03102d 100644 --- a/samples/core/Modeling/Relationships/Relationships.csproj +++ b/samples/core/Modeling/Relationships/Relationships.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFModeling.Relationships EFModeling.Relationships - - + + diff --git a/samples/core/Modeling/Sequences/Sequences.csproj b/samples/core/Modeling/Sequences/Sequences.csproj index c77a3f73f0..c53bbb9889 100644 --- a/samples/core/Modeling/Sequences/Sequences.csproj +++ b/samples/core/Modeling/Sequences/Sequences.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.Sequences EFModeling.Sequences - + diff --git a/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj b/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj index 5099214a9a..5d44dca98f 100644 --- a/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj +++ b/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFModeling.ShadowAndIndexerProperties EFModeling.ShadowAndIndexerProperties - + diff --git a/samples/core/Modeling/TableSplitting/TableSplitting.csproj b/samples/core/Modeling/TableSplitting/TableSplitting.csproj index 6ee6113b21..c97f267653 100644 --- a/samples/core/Modeling/TableSplitting/TableSplitting.csproj +++ b/samples/core/Modeling/TableSplitting/TableSplitting.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFModeling.TableSplitting EFModeling.TableSplitting - - + + diff --git a/samples/core/Modeling/ValueConversions/ValueConversions.csproj b/samples/core/Modeling/ValueConversions/ValueConversions.csproj index 2e2e87b595..d8d75f5752 100644 --- a/samples/core/Modeling/ValueConversions/ValueConversions.csproj +++ b/samples/core/Modeling/ValueConversions/ValueConversions.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFModeling.ValueConversions EFModeling.ValueConversions - - + + diff --git a/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj b/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj index cc0a52e48a..43389ad7d2 100644 --- a/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj +++ b/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable Performance.AspNetContextPooling Performance.AspNetContextPooling @@ -9,8 +9,8 @@ - - + + diff --git a/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj b/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj index e107293ac6..c0887dbab7 100644 --- a/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj +++ b/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable Performance.AspNetContextPoolingWithState Performance.AspNetContextPoolingWithState @@ -9,8 +9,8 @@ - - + + diff --git a/samples/core/Performance/Other/Other.csproj b/samples/core/Performance/Other/Other.csproj index 6faf421318..0f1050e105 100644 --- a/samples/core/Performance/Other/Other.csproj +++ b/samples/core/Performance/Other/Other.csproj @@ -2,16 +2,15 @@ Exe - net8.0 + net10.0 Performance.Other Performance.Other - - + + - diff --git a/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj b/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj index cdbc54cb16..0933bb847c 100644 --- a/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj +++ b/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj @@ -2,15 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.ClientEvaluation EFQuerying.ClientEvaluation - - - + + diff --git a/samples/core/Querying/ComplexQuery/ComplexQuery.csproj b/samples/core/Querying/ComplexQuery/ComplexQuery.csproj index 57c040223b..51df5310af 100644 --- a/samples/core/Querying/ComplexQuery/ComplexQuery.csproj +++ b/samples/core/Querying/ComplexQuery/ComplexQuery.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.ComplexQuery EFQuerying.ComplexQuery - - + + diff --git a/samples/core/Querying/NullSemantics/NullSemantics.csproj b/samples/core/Querying/NullSemantics/NullSemantics.csproj index f164a1aa2f..f841b54fe4 100644 --- a/samples/core/Querying/NullSemantics/NullSemantics.csproj +++ b/samples/core/Querying/NullSemantics/NullSemantics.csproj @@ -2,11 +2,11 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Querying/Overview/Overview.csproj b/samples/core/Querying/Overview/Overview.csproj index 63ceb28890..99418d4ac4 100644 --- a/samples/core/Querying/Overview/Overview.csproj +++ b/samples/core/Querying/Overview/Overview.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.Overview EFQuerying.Overview - - + + diff --git a/samples/core/Querying/Pagination/Pagination.csproj b/samples/core/Querying/Pagination/Pagination.csproj index d5e704682c..ba265a8832 100644 --- a/samples/core/Querying/Pagination/Pagination.csproj +++ b/samples/core/Querying/Pagination/Pagination.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.Pagination EFQuerying.Pagination - - + + diff --git a/samples/core/Querying/RelatedData/RelatedData.csproj b/samples/core/Querying/RelatedData/RelatedData.csproj index ace4f1d23d..9b840df1e1 100644 --- a/samples/core/Querying/RelatedData/RelatedData.csproj +++ b/samples/core/Querying/RelatedData/RelatedData.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.RelatedData EFQuerying.RelatedData - - + + diff --git a/samples/core/Querying/Tags/Tags.csproj b/samples/core/Querying/Tags/Tags.csproj index 443e96fd4f..736919550d 100644 --- a/samples/core/Querying/Tags/Tags.csproj +++ b/samples/core/Querying/Tags/Tags.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFQuerying.Tags EFQuerying.Tags - + diff --git a/samples/core/Querying/Tracking/Tracking.csproj b/samples/core/Querying/Tracking/Tracking.csproj index d0fea1b385..de693a049b 100644 --- a/samples/core/Querying/Tracking/Tracking.csproj +++ b/samples/core/Querying/Tracking/Tracking.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.Tracking EFQuerying.Tracking - - + + diff --git a/samples/core/Querying/UserDefinedFunctionMapping/Model.cs b/samples/core/Querying/UserDefinedFunctionMapping/Model.cs index 188df7d56a..d689449518 100644 --- a/samples/core/Querying/UserDefinedFunctionMapping/Model.cs +++ b/samples/core/Querying/UserDefinedFunctionMapping/Model.cs @@ -139,36 +139,33 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) new Comment { CommentId = 6, PostId = 3, Text = "I couldn't agree with you more", Likes = 2 }); #region BasicFunctionConfiguration - modelBuilder.HasDbFunction(typeof(BloggingContext).GetMethod(nameof(ActivePostCountForBlog), new[] { typeof(int) })) + modelBuilder.HasDbFunction(typeof(BloggingContext).GetMethod(nameof(ActivePostCountForBlog), [typeof(int)])) .HasName("CommentedPostCountForBlog"); #endregion #region HasTranslationFunctionConfiguration // 100 * ABS(first - second) / ((first + second) / 2) modelBuilder.HasDbFunction( - typeof(BloggingContext).GetMethod(nameof(PercentageDifference), new[] { typeof(double), typeof(int) })) + typeof(BloggingContext).GetMethod(nameof(PercentageDifference), [typeof(double), typeof(int)])) .HasTranslation( args => new SqlBinaryExpression( ExpressionType.Multiply, - new SqlConstantExpression( - Expression.Constant(100), - new IntTypeMapping("int", DbType.Int32)), + new SqlConstantExpression(100, new IntTypeMapping("int", DbType.Int32)), new SqlBinaryExpression( ExpressionType.Divide, new SqlFunctionExpression( "ABS", - new SqlExpression[] - { + [ new SqlBinaryExpression( ExpressionType.Subtract, args.First(), args.Skip(1).First(), args.First().Type, args.First().TypeMapping) - }, + ], nullable: true, - argumentsPropagateNullability: new[] { true, true }, + argumentsPropagateNullability: [true, true], type: args.First().Type, typeMapping: args.First().TypeMapping), new SqlBinaryExpression( @@ -179,9 +176,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) args.Skip(1).First(), args.First().Type, args.First().TypeMapping), - new SqlConstantExpression( - Expression.Constant(2), - new IntTypeMapping("int", DbType.Int32)), + new SqlConstantExpression(2, new IntTypeMapping("int", DbType.Int32)), args.First().Type, args.First().TypeMapping), args.First().Type, @@ -192,11 +187,11 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) #region NullabilityPropagationModelConfiguration modelBuilder - .HasDbFunction(typeof(BloggingContext).GetMethod(nameof(ConcatStrings), new[] { typeof(string), typeof(string) })) + .HasDbFunction(typeof(BloggingContext).GetMethod(nameof(ConcatStrings), [typeof(string), typeof(string)])) .HasName("ConcatStrings"); modelBuilder.HasDbFunction( - typeof(BloggingContext).GetMethod(nameof(ConcatStringsOptimized), new[] { typeof(string), typeof(string) }), + typeof(BloggingContext).GetMethod(nameof(ConcatStringsOptimized), [typeof(string), typeof(string)]), b => { b.HasName("ConcatStrings"); @@ -207,7 +202,7 @@ protected override void OnModelCreating(ModelBuilder modelBuilder) #region QueryableFunctionConfigurationHasDbFunction modelBuilder.Entity().ToTable("Posts"); - modelBuilder.HasDbFunction(typeof(BloggingContext).GetMethod(nameof(PostsWithPopularComments), new[] { typeof(int) })); + modelBuilder.HasDbFunction(typeof(BloggingContext).GetMethod(nameof(PostsWithPopularComments), [typeof(int)])); #endregion } diff --git a/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj b/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj index b488b88200..949cbdfb5d 100644 --- a/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj +++ b/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net10.0 EFQuerying.UserDefinedFunctionMapping EFQuerying.UserDefinedFunctionMapping - - + + diff --git a/samples/core/Saving/Saving.csproj b/samples/core/Saving/Saving.csproj index 0d2f88441b..c3916a64d3 100644 --- a/samples/core/Saving/Saving.csproj +++ b/samples/core/Saving/Saving.csproj @@ -2,13 +2,13 @@ Exe - net8.0 + net10.0 EFSaving EFSaving - + diff --git a/samples/core/Schemas/Migrations/Migrations.csproj b/samples/core/Schemas/Migrations/Migrations.csproj index 700b1069c0..03a528defa 100644 --- a/samples/core/Schemas/Migrations/Migrations.csproj +++ b/samples/core/Schemas/Migrations/Migrations.csproj @@ -1,11 +1,11 @@ - net8.0 + net10.0 - + diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj index 6454d0772f..1f26261919 100644 --- a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj +++ b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj @@ -1,12 +1,12 @@ - net8.0 + net10.0 - + diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj index 8aec49fe29..ab5016e6cc 100644 --- a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj +++ b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj index 3676f54a2a..f8937b3034 100644 --- a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj +++ b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj @@ -1,14 +1,14 @@ - net8.0 + net10.0 aspnet-WebApplication1-1FCCDCDB-A580-40BC-B4DC-17498EB689D9 - - - + + + diff --git a/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj b/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj index 1498640f3e..a9bdd1a1c5 100644 --- a/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 ..\WorkerService1\bin\ diff --git a/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj b/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj index eb72464294..64ae7131a9 100644 --- a/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 ..\WorkerService1\bin\ diff --git a/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj b/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj index adb3a45c4e..7248194cfa 100644 --- a/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj @@ -1,14 +1,14 @@ - net8.0 + net10.0 dotnet-WorkerService1-F7BD8083-51FA-4910-9F6D-FCDE8274AF8B - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/samples/core/Spatial/Projections/Projections.csproj b/samples/core/Spatial/Projections/Projections.csproj index c865f5b0e7..ef1babb7a3 100644 --- a/samples/core/Spatial/Projections/Projections.csproj +++ b/samples/core/Spatial/Projections/Projections.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 diff --git a/samples/core/Spatial/SqlServer/SqlServer.csproj b/samples/core/Spatial/SqlServer/SqlServer.csproj index 79f0dce83d..ea497f0a4d 100644 --- a/samples/core/Spatial/SqlServer/SqlServer.csproj +++ b/samples/core/Spatial/SqlServer/SqlServer.csproj @@ -2,12 +2,12 @@ Exe - net8.0 + net10.0 - - + + diff --git a/samples/core/SqlServer/SqlServer.csproj b/samples/core/SqlServer/SqlServer.csproj index f164a1aa2f..f841b54fe4 100644 --- a/samples/core/SqlServer/SqlServer.csproj +++ b/samples/core/SqlServer/SqlServer.csproj @@ -2,11 +2,11 @@ Exe - net8.0 + net10.0 - + diff --git a/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj b/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj index acf48cb6ae..582b90f7ae 100644 --- a/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj +++ b/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 Items EF.Testing.BloggingWebApi EF.Testing.BloggingWebApi diff --git a/samples/core/Testing/BusinessLogic/BusinessLogic.csproj b/samples/core/Testing/BusinessLogic/BusinessLogic.csproj index e02ac91f1f..c6d92da97f 100644 --- a/samples/core/Testing/BusinessLogic/BusinessLogic.csproj +++ b/samples/core/Testing/BusinessLogic/BusinessLogic.csproj @@ -1,13 +1,13 @@  - net8.0 + net10.0 EF.Testing.BusinessLogic EF.Testing.BusinessLogic - + diff --git a/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj b/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj index 7a71dc5369..4e6eaeae41 100644 --- a/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj +++ b/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj @@ -1,20 +1,19 @@ - net8.0 + net10.0 EF.Testing.IntegrationTests EF.Testing.IntegrationTests false - + runtime; build; native; contentfiles; analyzers; buildtransitive all - diff --git a/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj b/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj index e7a5c084df..4cc90dc111 100644 --- a/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj +++ b/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj @@ -1,24 +1,23 @@ - net8.0 + net10.0 EF.Testing.UnitTests EF.Testing.UnitTests false - - + + - + runtime; build; native; contentfiles; analyzers; buildtransitive all - diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj index 105758c426..d8220e6244 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj @@ -1,13 +1,12 @@  - net6.0 - 10.0 + net10.0 Data access for Planetary Docs. - + diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj index 46af2a442d..a56034f951 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj @@ -1,7 +1,7 @@ - net6.0 + net10.0 10.0 Domain models and business logic. diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj index 24cc6d0a52..02a90d1f23 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj @@ -1,7 +1,7 @@ - net6.0 + net10.0 Blazor Server application to demonstrate Create, Read, Update, and Delete (CRUD) for an Azure Cosmos DB database using Entity Framework Core. diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj index 84cfeff9c3..6630db675d 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net10.0 10.0 Seed data for the Azure Cosmos DB database. diff --git a/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj b/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj index 1a2162d0b5..5abd228973 100644 --- a/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj +++ b/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj @@ -1,13 +1,13 @@ - net6.0 + net10.0 false - + runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/samples/global.json b/samples/global.json index be4942c34f..c6cbb9a0aa 100644 --- a/samples/global.json +++ b/samples/global.json @@ -1,5 +1,5 @@ { "sdk": { - "version": "10.0.100-rc.1.25451.107" + "version": "10.0.100" } } \ No newline at end of file