From 6dce35cdb1ef9658951e7b197a12127c92de4d24 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Aug 2026 22:31:09 +0000 Subject: [PATCH 1/3] Initial plan From 20ef33dfce5a12dac75d6582d1673171641d472d Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Aug 2026 22:53:53 +0000 Subject: [PATCH 2/3] Update samples to .NET 11 preview 7 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com> --- entity-framework/core/modeling/bulk-configuration.md | 2 +- samples/core/Benchmarks/Benchmarks.csproj | 6 +++--- samples/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 | 6 +++--- samples/core/Cosmos/Cosmos.csproj | 4 ++-- .../core/DbContextPooling/DbContextPooling.csproj | 4 ++-- samples/core/GetStarted/EFGetStarted.csproj | 6 +++--- samples/core/Intro/Intro.csproj | 6 +++--- samples/core/Miscellaneous/Async/Async.csproj | 4 ++-- .../CachingInterception/CachingInterception.csproj | 4 ++-- .../core/Miscellaneous/Collations/Collations.csproj | 4 ++-- .../CommandInterception/CommandInterception.csproj | 4 ++-- .../Miscellaneous/CommandLine/CommandLine.csproj | 6 +++--- .../CompiledModels/CompiledModels.csproj | 6 +++--- .../CompiledModels/MultipleRuntimeModels.cs | 10 ++++++++++ .../CompiledModels/SingleRuntimeModel.cs | 8 +++++++- .../Miscellaneous/CompiledModels/dotnet-tools.json | 2 +- .../ConfiguringDbContext/ConfiguringDbContext.csproj | 12 ++++++------ .../ConnectionInterception.csproj | 4 ++-- .../ConnectionResiliency/ConnectionResiliency.csproj | 4 ++-- .../DiagnosticListeners/DiagnosticListeners.csproj | 4 ++-- samples/core/Miscellaneous/Events/Events.csproj | 4 ++-- .../Miscellaneous/Logging/Logging/Logging.csproj | 4 ++-- .../Logging/SimpleLogging/SimpleLogging.csproj | 6 +++--- .../Miscellaneous/Multitenancy/Common/Common.csproj | 2 +- .../Multitenancy/MultiDb/MultiDb.csproj | 4 ++-- .../SingleDbSingleTable/SingleDbSingleTable.csproj | 4 ++-- .../TenantControls/TenantControls.csproj | 4 ++-- .../NewInEFCore6.Cosmos/.config/dotnet-tools.json | 2 +- .../NewInEFCore6/.config/dotnet-tools.json | 2 +- .../NewInEFCore7/.config/dotnet-tools.json | 2 +- .../NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj | 2 +- .../NullableReferenceTypes.csproj | 6 +++--- .../SaveChangesInterception.csproj | 4 ++-- .../core/Modeling/BackingFields/BackingFields.csproj | 4 ++-- .../BulkConfiguration/BulkConfiguration.csproj | 4 ++-- .../ModelBuildingConventionsSample.cs | 2 +- .../core/Modeling/ComplexTypes/ComplexTypes.csproj | 4 ++-- .../ConcurrencyTokens/ConcurrencyTokens.csproj | 4 ++-- samples/core/Modeling/DataSeeding/DataSeeding.csproj | 6 +++--- .../core/Modeling/DynamicModel/DynamicModel.csproj | 4 ++-- .../EntityProperties/EntityProperties.csproj | 4 ++-- samples/core/Modeling/EntityTypes/EntityTypes.csproj | 4 ++-- .../GeneratedProperties/GeneratedProperties.csproj | 4 ++-- .../IndexesAndConstraints.csproj | 4 ++-- samples/core/Modeling/Inheritance/Inheritance.csproj | 4 ++-- .../KeylessEntityTypes/KeylessEntityTypes.csproj | 4 ++-- samples/core/Modeling/Keys/Keys.csproj | 4 ++-- samples/core/Modeling/Misc/Misc.csproj | 4 ++-- .../core/Modeling/OwnedEntities/OwnedEntities.csproj | 6 +++--- .../core/Modeling/Relationships/Relationships.csproj | 6 +++--- samples/core/Modeling/Sequences/Sequences.csproj | 4 ++-- .../ShadowAndIndexerProperties.csproj | 4 ++-- .../Modeling/TableSplitting/TableSplitting.csproj | 6 +++--- .../ValueConversions/ValueConversions.csproj | 6 +++--- .../AspNetContextPooling/AspNetContextPooling.csproj | 6 +++--- .../AspNetContextPoolingWithState.csproj | 6 +++--- samples/core/Performance/Other/Other.csproj | 6 +++--- .../ClientEvaluation/ClientEvaluation.csproj | 6 +++--- .../core/Querying/ComplexQuery/ComplexQuery.csproj | 6 +++--- .../core/Querying/NullSemantics/NullSemantics.csproj | 4 ++-- samples/core/Querying/Overview/Overview.csproj | 6 +++--- samples/core/Querying/Pagination/Pagination.csproj | 6 +++--- .../core/Querying/QueryFilters/QueryFilters.csproj | 6 +++--- samples/core/Querying/RelatedData/RelatedData.csproj | 6 +++--- samples/core/Querying/Tags/Tags.csproj | 4 ++-- samples/core/Querying/Tracking/Tracking.csproj | 6 +++--- .../UserDefinedFunctionMapping.csproj | 6 +++--- samples/core/Saving/Saving.csproj | 4 ++-- .../Schemas/MigrationBundle/MigrationBundle.csproj | 6 +++--- samples/core/Schemas/Migrations/Migrations.csproj | 4 ++-- .../WebApplication1.Data/WebApplication1.Data.csproj | 6 +++--- .../WebApplication1.Migrations.csproj | 6 +++--- .../WebApplication1/WebApplication1.csproj | 8 ++++---- .../SqlServerMigrations/SqlServerMigrations.csproj | 2 +- .../SqliteMigrations/SqliteMigrations.csproj | 2 +- .../WorkerService1/WorkerService1.csproj | 8 ++++---- samples/core/Spatial/Projections/Projections.csproj | 2 +- samples/core/Spatial/SqlServer/SqlServer.csproj | 4 ++-- samples/core/SqlServer/SqlServer.csproj | 4 ++-- .../ValueGeneration/SqliteValueGeneration.csproj | 4 ++-- .../Testing/BloggingWebApi/BloggingWebApi.csproj | 2 +- .../core/Testing/BusinessLogic/BusinessLogic.csproj | 4 ++-- .../TestingWithTheDatabase.csproj | 2 +- .../TestingWithoutTheDatabase.csproj | 6 +++--- samples/end2end/PlanetaryDocs/Directory.Build.props | 2 +- .../PlanetaryDocs.DataAccess.csproj | 4 ++-- .../PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj | 4 ++-- .../PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj | 2 +- .../PlanetaryDocsLoader/PlanetaryDocsLoader.csproj | 4 ++-- .../Tests/DomainTests/DomainTests.csproj | 2 +- samples/global.json | 2 +- 98 files changed, 237 insertions(+), 221 deletions(-) diff --git a/entity-framework/core/modeling/bulk-configuration.md b/entity-framework/core/modeling/bulk-configuration.md index c83fff0524..61d2b09e43 100644 --- a/entity-framework/core/modeling/bulk-configuration.md +++ b/entity-framework/core/modeling/bulk-configuration.md @@ -302,7 +302,7 @@ public class AttributeBasedPropertyDiscoveryConvention : PropertyDiscoveryConven entityTypeBuilder.Property(memberInfo); } else if (memberInfo is PropertyInfo propertyInfo - && Dependencies.TypeMappingSource.FindMapping(propertyInfo) != null) + && Dependencies.TypeMappingSource.FindMapping(propertyInfo.PropertyType) != null) { entityTypeBuilder.Ignore(propertyInfo.Name); } diff --git a/samples/core/Benchmarks/Benchmarks.csproj b/samples/core/Benchmarks/Benchmarks.csproj index b0d5c1679e..d5f2231fe5 100644 --- a/samples/core/Benchmarks/Benchmarks.csproj +++ b/samples/core/Benchmarks/Benchmarks.csproj @@ -1,13 +1,13 @@  Exe - net10.0 + net11.0 true - - + + diff --git a/samples/core/CascadeDeletes/CascadeDeletes.csproj b/samples/core/CascadeDeletes/CascadeDeletes.csproj index 52d146ef8f..c0328369f0 100644 --- a/samples/core/CascadeDeletes/CascadeDeletes.csproj +++ b/samples/core/CascadeDeletes/CascadeDeletes.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 - - - + + + diff --git a/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj b/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj index e5eaa12b40..e5daff1ed3 100644 --- a/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj +++ b/samples/core/ChangeTracking/AccessingTrackedEntities/AccessingTrackedEntities.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj b/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj index e5eaa12b40..e5daff1ed3 100644 --- a/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj +++ b/samples/core/ChangeTracking/AdditionalChangeTrackingFeatures/AdditionalChangeTrackingFeatures.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj b/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj index e198a361b6..1fc41ea438 100644 --- a/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj +++ b/samples/core/ChangeTracking/ChangeDetectionAndNotifications/ChangeDetectionAndNotifications.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 - - - + + + diff --git a/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj b/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj index e5eaa12b40..e5daff1ed3 100644 --- a/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj +++ b/samples/core/ChangeTracking/ChangeTrackerDebugging/ChangeTrackerDebugging.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj b/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj index e5eaa12b40..e5daff1ed3 100644 --- a/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj +++ b/samples/core/ChangeTracking/ChangeTrackingInEFCore/ChangeTrackingInEFCore.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj b/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj index e5eaa12b40..e5daff1ed3 100644 --- a/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj +++ b/samples/core/ChangeTracking/ChangingFKsAndNavigations/ChangingFKsAndNavigations.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj b/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj index 1599379cee..10b3f68f6e 100644 --- a/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj +++ b/samples/core/ChangeTracking/IdentityResolutionInEFCore/IdentityResolutionInEFCore.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/Cosmos/Cosmos.csproj b/samples/core/Cosmos/Cosmos.csproj index 081b2b9a60..e763111236 100644 --- a/samples/core/Cosmos/Cosmos.csproj +++ b/samples/core/Cosmos/Cosmos.csproj @@ -2,11 +2,11 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/DbContextPooling/DbContextPooling.csproj b/samples/core/DbContextPooling/DbContextPooling.csproj index 9e6b2d693b..988af8fddb 100644 --- a/samples/core/DbContextPooling/DbContextPooling.csproj +++ b/samples/core/DbContextPooling/DbContextPooling.csproj @@ -1,10 +1,10 @@ Exe - net10.0 + net11.0 Samples - + diff --git a/samples/core/GetStarted/EFGetStarted.csproj b/samples/core/GetStarted/EFGetStarted.csproj index 9b8254d35a..e3b14f0603 100644 --- a/samples/core/GetStarted/EFGetStarted.csproj +++ b/samples/core/GetStarted/EFGetStarted.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 $(MSBuildProjectDirectory) - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/samples/core/Intro/Intro.csproj b/samples/core/Intro/Intro.csproj index 22956419ed..545a7782ad 100644 --- a/samples/core/Intro/Intro.csproj +++ b/samples/core/Intro/Intro.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.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 c4475eebeb..2956be944c 100644 --- a/samples/core/Miscellaneous/Async/Async.csproj +++ b/samples/core/Miscellaneous/Async/Async.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFAsync EFAsync - + diff --git a/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj b/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj index 21d10ca0ac..57aae84bd3 100644 --- a/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj +++ b/samples/core/Miscellaneous/CachingInterception/CachingInterception.csproj @@ -2,12 +2,12 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Miscellaneous/Collations/Collations.csproj b/samples/core/Miscellaneous/Collations/Collations.csproj index 598f97e05b..b3526008f9 100644 --- a/samples/core/Miscellaneous/Collations/Collations.csproj +++ b/samples/core/Miscellaneous/Collations/Collations.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFCollations EFCollations - + diff --git a/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj b/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj index 18d0804f27..a2ede68f9a 100644 --- a/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj +++ b/samples/core/Miscellaneous/CommandInterception/CommandInterception.csproj @@ -2,12 +2,12 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Miscellaneous/CommandLine/CommandLine.csproj b/samples/core/Miscellaneous/CommandLine/CommandLine.csproj index 7ff8efdfb2..2a8bf32aff 100644 --- a/samples/core/Miscellaneous/CommandLine/CommandLine.csproj +++ b/samples/core/Miscellaneous/CommandLine/CommandLine.csproj @@ -1,12 +1,12 @@  - net10.0 + net11.0 - - + + diff --git a/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj b/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj index 6f575a50a2..14a17a7b8e 100644 --- a/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj +++ b/samples/core/Miscellaneous/CompiledModels/CompiledModels.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs b/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs index c4d1a098f5..e7d3a52f40 100644 --- a/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs +++ b/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs @@ -37,6 +37,11 @@ public static IModel GetOrCreateModel(string connectionString) [DbContext(typeof(BlogsContext))] partial class BlogsContextModel1 : RuntimeModel { + private BlogsContextModel1() + : base(skipDetectChanges: false, modelId: Guid.NewGuid(), entityTypeCount: 0) + { + } + private static BlogsContextModel1 _instance; public static IModel Instance { @@ -61,6 +66,11 @@ public static IModel Instance [DbContext(typeof(BlogsContext))] partial class BlogsContextModel2 : RuntimeModel { + private BlogsContextModel2() + : base(skipDetectChanges: false, modelId: Guid.NewGuid(), entityTypeCount: 0) + { + } + private static BlogsContextModel2 _instance; public static IModel Instance { diff --git a/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs b/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs index 2087d6d142..3aea2d7771 100644 --- a/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs +++ b/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs @@ -1,4 +1,5 @@ -using CompiledModelTest; +using System; +using CompiledModelTest; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; @@ -11,6 +12,11 @@ namespace SingleRuntimeModel; [DbContext(typeof(BlogsContext))] partial class BlogsContextModel : RuntimeModel { + private BlogsContextModel() + : base(skipDetectChanges: false, modelId: Guid.NewGuid(), entityTypeCount: 0) + { + } + private static BlogsContextModel _instance; public static IModel Instance { diff --git a/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json b/samples/core/Miscellaneous/CompiledModels/dotnet-tools.json index 530896d9cd..9a46f68f2a 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": "10.0.0", + "version": "11.0.0-preview.7.26381.103", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj b/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj index 4d14f0d528..07d0910c19 100644 --- a/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj +++ b/samples/core/Miscellaneous/ConfiguringDbContext/ConfiguringDbContext.csproj @@ -1,17 +1,17 @@  - net10.0 + net11.0 enable - - - - - + + + + + diff --git a/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj b/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj index 74fd2f4818..00df7e28c9 100644 --- a/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj +++ b/samples/core/Miscellaneous/ConnectionInterception/ConnectionInterception.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj b/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj index 0ab9f9372e..b23b95e200 100644 --- a/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj +++ b/samples/core/Miscellaneous/ConnectionResiliency/ConnectionResiliency.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFConnectionResiliency EFConnectionResiliency - + diff --git a/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj b/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj index 21d10ca0ac..57aae84bd3 100644 --- a/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj +++ b/samples/core/Miscellaneous/DiagnosticListeners/DiagnosticListeners.csproj @@ -2,12 +2,12 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Miscellaneous/Events/Events.csproj b/samples/core/Miscellaneous/Events/Events.csproj index 21d10ca0ac..57aae84bd3 100644 --- a/samples/core/Miscellaneous/Events/Events.csproj +++ b/samples/core/Miscellaneous/Events/Events.csproj @@ -2,12 +2,12 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Miscellaneous/Logging/Logging/Logging.csproj b/samples/core/Miscellaneous/Logging/Logging/Logging.csproj index ced1f1128a..4a99862676 100644 --- a/samples/core/Miscellaneous/Logging/Logging/Logging.csproj +++ b/samples/core/Miscellaneous/Logging/Logging/Logging.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFLogging EFLogging - + diff --git a/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj b/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj index 249c290541..1e11782025 100755 --- a/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj +++ b/samples/core/Miscellaneous/Logging/SimpleLogging/SimpleLogging.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 - - + + diff --git a/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj b/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj index 9ed914b5ba..20ef379b28 100644 --- a/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj +++ b/samples/core/Miscellaneous/Multitenancy/Common/Common.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.0 enable enable diff --git a/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj b/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj index d9115c5e82..330c0f215a 100644 --- a/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj +++ b/samples/core/Miscellaneous/Multitenancy/MultiDb/MultiDb.csproj @@ -1,13 +1,13 @@  - net10.0 + net11.0 enable enable - + diff --git a/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj b/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj index d9115c5e82..330c0f215a 100644 --- a/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj +++ b/samples/core/Miscellaneous/Multitenancy/SingleDbSingleTable/SingleDbSingleTable.csproj @@ -1,13 +1,13 @@  - net10.0 + net11.0 enable enable - + diff --git a/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj b/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj index 31d4564fbc..15817096c7 100644 --- a/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj +++ b/samples/core/Miscellaneous/Multitenancy/TenantControls/TenantControls.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.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 530896d9cd..9a46f68f2a 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": "10.0.0", + "version": "11.0.0-preview.7.26381.103", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json b/samples/core/Miscellaneous/NewInEFCore6/.config/dotnet-tools.json index 530896d9cd..9a46f68f2a 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": "10.0.0", + "version": "11.0.0-preview.7.26381.103", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json b/samples/core/Miscellaneous/NewInEFCore7/.config/dotnet-tools.json index c854abd51f..bdad471f54 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": "10.0.0", + "version": "11.0.0-preview.7.26381.103", "commands": [ "dotnet-ef" ] diff --git a/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj b/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj index a90387728a..478a688d03 100644 --- a/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj +++ b/samples/core/Miscellaneous/NewInEFCore9.Cosmos/NewInEFCore9.Cosmos.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net11.0 diff --git a/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj b/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj index 185af6ec77..0c95b1ee83 100644 --- a/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj +++ b/samples/core/Miscellaneous/NullableReferenceTypes/NullableReferenceTypes.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 8.0 enable - - + + diff --git a/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj b/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj index 21d10ca0ac..57aae84bd3 100644 --- a/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj +++ b/samples/core/Miscellaneous/SaveChangesInterception/SaveChangesInterception.csproj @@ -2,12 +2,12 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Modeling/BackingFields/BackingFields.csproj b/samples/core/Modeling/BackingFields/BackingFields.csproj index 51c96c436b..12dbd33e60 100644 --- a/samples/core/Modeling/BackingFields/BackingFields.csproj +++ b/samples/core/Modeling/BackingFields/BackingFields.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.BackingFields EFModeling.BackingFields - + diff --git a/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj b/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj index a6e7034eb6..1f4395691d 100644 --- a/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj +++ b/samples/core/Modeling/BulkConfiguration/BulkConfiguration.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFModeling.BulkConfiguration EFModeling.BulkConfiguration enable - + diff --git a/samples/core/Modeling/BulkConfiguration/ModelBuildingConventionsSample.cs b/samples/core/Modeling/BulkConfiguration/ModelBuildingConventionsSample.cs index 64bcd9d526..cb38bffb7f 100644 --- a/samples/core/Modeling/BulkConfiguration/ModelBuildingConventionsSample.cs +++ b/samples/core/Modeling/BulkConfiguration/ModelBuildingConventionsSample.cs @@ -370,7 +370,7 @@ private void Process(IConventionEntityTypeBuilder entityTypeBuilder) entityTypeBuilder.Property(memberInfo); } else if (memberInfo is PropertyInfo propertyInfo - && Dependencies.TypeMappingSource.FindMapping(propertyInfo) != null) + && Dependencies.TypeMappingSource.FindMapping(propertyInfo.PropertyType) != null) { entityTypeBuilder.Ignore(propertyInfo.Name); } diff --git a/samples/core/Modeling/ComplexTypes/ComplexTypes.csproj b/samples/core/Modeling/ComplexTypes/ComplexTypes.csproj index 526f65f989..76e65cd938 100644 --- a/samples/core/Modeling/ComplexTypes/ComplexTypes.csproj +++ b/samples/core/Modeling/ComplexTypes/ComplexTypes.csproj @@ -9,11 +9,11 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj b/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj index 92d7bc1771..e072f1f262 100644 --- a/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj +++ b/samples/core/Modeling/ConcurrencyTokens/ConcurrencyTokens.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.ConcurrencyTokens EFModeling.ConcurrencyTokens - + diff --git a/samples/core/Modeling/DataSeeding/DataSeeding.csproj b/samples/core/Modeling/DataSeeding/DataSeeding.csproj index adc0cf6441..5341472415 100644 --- a/samples/core/Modeling/DataSeeding/DataSeeding.csproj +++ b/samples/core/Modeling/DataSeeding/DataSeeding.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFModeling.DataSeeding EFModeling.DataSeeding - - + + diff --git a/samples/core/Modeling/DynamicModel/DynamicModel.csproj b/samples/core/Modeling/DynamicModel/DynamicModel.csproj index 115b38948a..a028e9a3ce 100644 --- a/samples/core/Modeling/DynamicModel/DynamicModel.csproj +++ b/samples/core/Modeling/DynamicModel/DynamicModel.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.DynamicModel EFModeling.DynamicModel - + diff --git a/samples/core/Modeling/EntityProperties/EntityProperties.csproj b/samples/core/Modeling/EntityProperties/EntityProperties.csproj index 1c79c73e8b..0434d6c166 100644 --- a/samples/core/Modeling/EntityProperties/EntityProperties.csproj +++ b/samples/core/Modeling/EntityProperties/EntityProperties.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.EntityProperties EFModeling.EntityProperties - + diff --git a/samples/core/Modeling/EntityTypes/EntityTypes.csproj b/samples/core/Modeling/EntityTypes/EntityTypes.csproj index 3f444cbd9a..f2c0268798 100644 --- a/samples/core/Modeling/EntityTypes/EntityTypes.csproj +++ b/samples/core/Modeling/EntityTypes/EntityTypes.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.EntityTypes EFModeling.EntityTypes - + diff --git a/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj b/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj index 65a94c2408..76743e7be7 100644 --- a/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj +++ b/samples/core/Modeling/GeneratedProperties/GeneratedProperties.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.GeneratedProperties EFModeling.GeneratedProperties - + diff --git a/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj b/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj index beb5d93d11..e166d44f27 100644 --- a/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj +++ b/samples/core/Modeling/IndexesAndConstraints/IndexesAndConstraints.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.IndexesAndConstraints EFModeling.IndexesAndConstraints - + diff --git a/samples/core/Modeling/Inheritance/Inheritance.csproj b/samples/core/Modeling/Inheritance/Inheritance.csproj index 7bcbffe0eb..5bafd2f34b 100644 --- a/samples/core/Modeling/Inheritance/Inheritance.csproj +++ b/samples/core/Modeling/Inheritance/Inheritance.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.Inheritance EFModeling.Inheritance - + diff --git a/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj b/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj index fe9970008e..cd99297db3 100644 --- a/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj +++ b/samples/core/Modeling/KeylessEntityTypes/KeylessEntityTypes.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.KeylessEntityTypes EFModeling.KeylessEntityTypes - + diff --git a/samples/core/Modeling/Keys/Keys.csproj b/samples/core/Modeling/Keys/Keys.csproj index 5d985f68a8..9001014d5c 100644 --- a/samples/core/Modeling/Keys/Keys.csproj +++ b/samples/core/Modeling/Keys/Keys.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.Keys EFModeling.Keys - + diff --git a/samples/core/Modeling/Misc/Misc.csproj b/samples/core/Modeling/Misc/Misc.csproj index 92d7bc1771..e072f1f262 100644 --- a/samples/core/Modeling/Misc/Misc.csproj +++ b/samples/core/Modeling/Misc/Misc.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.ConcurrencyTokens EFModeling.ConcurrencyTokens - + diff --git a/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj b/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj index 1047ce46ec..29b49ed787 100644 --- a/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj +++ b/samples/core/Modeling/OwnedEntities/OwnedEntities.csproj @@ -2,17 +2,17 @@ Exe - net10.0 + net11.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 7b5a03102d..2e427491af 100644 --- a/samples/core/Modeling/Relationships/Relationships.csproj +++ b/samples/core/Modeling/Relationships/Relationships.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFModeling.Relationships EFModeling.Relationships - - + + diff --git a/samples/core/Modeling/Sequences/Sequences.csproj b/samples/core/Modeling/Sequences/Sequences.csproj index c53bbb9889..f974f5fd19 100644 --- a/samples/core/Modeling/Sequences/Sequences.csproj +++ b/samples/core/Modeling/Sequences/Sequences.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.Sequences EFModeling.Sequences - + diff --git a/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj b/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj index 5d44dca98f..0bd0555e23 100644 --- a/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj +++ b/samples/core/Modeling/ShadowAndIndexerProperties/ShadowAndIndexerProperties.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFModeling.ShadowAndIndexerProperties EFModeling.ShadowAndIndexerProperties - + diff --git a/samples/core/Modeling/TableSplitting/TableSplitting.csproj b/samples/core/Modeling/TableSplitting/TableSplitting.csproj index c97f267653..b9c0861e18 100644 --- a/samples/core/Modeling/TableSplitting/TableSplitting.csproj +++ b/samples/core/Modeling/TableSplitting/TableSplitting.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFModeling.TableSplitting EFModeling.TableSplitting - - + + diff --git a/samples/core/Modeling/ValueConversions/ValueConversions.csproj b/samples/core/Modeling/ValueConversions/ValueConversions.csproj index d8d75f5752..91c889de5c 100644 --- a/samples/core/Modeling/ValueConversions/ValueConversions.csproj +++ b/samples/core/Modeling/ValueConversions/ValueConversions.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFModeling.ValueConversions EFModeling.ValueConversions - - + + diff --git a/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj b/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj index 43389ad7d2..e1fa4aaff2 100644 --- a/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj +++ b/samples/core/Performance/AspNetContextPooling/AspNetContextPooling.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.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 c0887dbab7..23e2a58a33 100644 --- a/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj +++ b/samples/core/Performance/AspNetContextPoolingWithState/AspNetContextPoolingWithState.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.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 0f1050e105..2efc539d1d 100644 --- a/samples/core/Performance/Other/Other.csproj +++ b/samples/core/Performance/Other/Other.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 Performance.Other Performance.Other - - + + diff --git a/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj b/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj index 0933bb847c..64efafd007 100644 --- a/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj +++ b/samples/core/Querying/ClientEvaluation/ClientEvaluation.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.ClientEvaluation EFQuerying.ClientEvaluation - - + + diff --git a/samples/core/Querying/ComplexQuery/ComplexQuery.csproj b/samples/core/Querying/ComplexQuery/ComplexQuery.csproj index 51df5310af..b817b48dbb 100644 --- a/samples/core/Querying/ComplexQuery/ComplexQuery.csproj +++ b/samples/core/Querying/ComplexQuery/ComplexQuery.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.ComplexQuery EFQuerying.ComplexQuery - - + + diff --git a/samples/core/Querying/NullSemantics/NullSemantics.csproj b/samples/core/Querying/NullSemantics/NullSemantics.csproj index f841b54fe4..dfe248325c 100644 --- a/samples/core/Querying/NullSemantics/NullSemantics.csproj +++ b/samples/core/Querying/NullSemantics/NullSemantics.csproj @@ -2,11 +2,11 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Querying/Overview/Overview.csproj b/samples/core/Querying/Overview/Overview.csproj index 99418d4ac4..cc3b3489cd 100644 --- a/samples/core/Querying/Overview/Overview.csproj +++ b/samples/core/Querying/Overview/Overview.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.Overview EFQuerying.Overview - - + + diff --git a/samples/core/Querying/Pagination/Pagination.csproj b/samples/core/Querying/Pagination/Pagination.csproj index ba265a8832..f1157d539b 100644 --- a/samples/core/Querying/Pagination/Pagination.csproj +++ b/samples/core/Querying/Pagination/Pagination.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.Pagination EFQuerying.Pagination - - + + diff --git a/samples/core/Querying/QueryFilters/QueryFilters.csproj b/samples/core/Querying/QueryFilters/QueryFilters.csproj index 0fd5561e65..79804322f8 100644 --- a/samples/core/Querying/QueryFilters/QueryFilters.csproj +++ b/samples/core/Querying/QueryFilters/QueryFilters.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.QueryFilters EFQuerying.QueryFilters - - + + diff --git a/samples/core/Querying/RelatedData/RelatedData.csproj b/samples/core/Querying/RelatedData/RelatedData.csproj index 9b840df1e1..ab02355c07 100644 --- a/samples/core/Querying/RelatedData/RelatedData.csproj +++ b/samples/core/Querying/RelatedData/RelatedData.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.RelatedData EFQuerying.RelatedData - - + + diff --git a/samples/core/Querying/Tags/Tags.csproj b/samples/core/Querying/Tags/Tags.csproj index 736919550d..e98b35962e 100644 --- a/samples/core/Querying/Tags/Tags.csproj +++ b/samples/core/Querying/Tags/Tags.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFQuerying.Tags EFQuerying.Tags - + diff --git a/samples/core/Querying/Tracking/Tracking.csproj b/samples/core/Querying/Tracking/Tracking.csproj index de693a049b..81ed71e15a 100644 --- a/samples/core/Querying/Tracking/Tracking.csproj +++ b/samples/core/Querying/Tracking/Tracking.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.Tracking EFQuerying.Tracking - - + + diff --git a/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj b/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj index 949cbdfb5d..565bb78189 100644 --- a/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj +++ b/samples/core/Querying/UserDefinedFunctionMapping/UserDefinedFunctionMapping.csproj @@ -2,14 +2,14 @@ Exe - net10.0 + net11.0 EFQuerying.UserDefinedFunctionMapping EFQuerying.UserDefinedFunctionMapping - - + + diff --git a/samples/core/Saving/Saving.csproj b/samples/core/Saving/Saving.csproj index c3916a64d3..fb83acca40 100644 --- a/samples/core/Saving/Saving.csproj +++ b/samples/core/Saving/Saving.csproj @@ -2,13 +2,13 @@ Exe - net10.0 + net11.0 EFSaving EFSaving - + diff --git a/samples/core/Schemas/MigrationBundle/MigrationBundle.csproj b/samples/core/Schemas/MigrationBundle/MigrationBundle.csproj index 2394a11ca0..ce7e7aa15c 100644 --- a/samples/core/Schemas/MigrationBundle/MigrationBundle.csproj +++ b/samples/core/Schemas/MigrationBundle/MigrationBundle.csproj @@ -2,17 +2,17 @@ Exe - net10.0 + net11.0 enable enable - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/samples/core/Schemas/Migrations/Migrations.csproj b/samples/core/Schemas/Migrations/Migrations.csproj index 03a528defa..905977b42a 100644 --- a/samples/core/Schemas/Migrations/Migrations.csproj +++ b/samples/core/Schemas/Migrations/Migrations.csproj @@ -1,11 +1,11 @@ - net10.0 + net11.0 - + diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Data/WebApplication1.Data.csproj index 151690714f..782e591b4c 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 @@ - net10.0 + net11.0 - - + + diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj index 5c75b6df04..504b034e91 100644 --- a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj +++ b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1.Migrations/WebApplication1.Migrations.csproj @@ -1,15 +1,15 @@ - net10.0 + net11.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - + diff --git a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj index d7570211d0..66808742a2 100644 --- a/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj +++ b/samples/core/Schemas/ThreeProjectMigrations/WebApplication1/WebApplication1.csproj @@ -1,14 +1,14 @@ - net10.0 + net11.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 a9bdd1a1c5..979e0dd15b 100644 --- a/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/SqlServerMigrations/SqlServerMigrations.csproj @@ -1,7 +1,7 @@  - net10.0 + net11.0 ..\WorkerService1\bin\ diff --git a/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj b/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj index 64ae7131a9..5961c4627a 100644 --- a/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/SqliteMigrations/SqliteMigrations.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.0 ..\WorkerService1\bin\ diff --git a/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj b/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj index 7248194cfa..c5b789788b 100644 --- a/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj +++ b/samples/core/Schemas/TwoProjectMigrations/WorkerService1/WorkerService1.csproj @@ -1,14 +1,14 @@ - net10.0 + net11.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 ef1babb7a3..cfc61bd24b 100644 --- a/samples/core/Spatial/Projections/Projections.csproj +++ b/samples/core/Spatial/Projections/Projections.csproj @@ -2,7 +2,7 @@ Exe - net10.0 + net11.0 diff --git a/samples/core/Spatial/SqlServer/SqlServer.csproj b/samples/core/Spatial/SqlServer/SqlServer.csproj index ea497f0a4d..77404cdc85 100644 --- a/samples/core/Spatial/SqlServer/SqlServer.csproj +++ b/samples/core/Spatial/SqlServer/SqlServer.csproj @@ -2,11 +2,11 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/SqlServer/SqlServer.csproj b/samples/core/SqlServer/SqlServer.csproj index f841b54fe4..dfe248325c 100644 --- a/samples/core/SqlServer/SqlServer.csproj +++ b/samples/core/SqlServer/SqlServer.csproj @@ -2,11 +2,11 @@ Exe - net10.0 + net11.0 - + diff --git a/samples/core/Sqlite/ValueGeneration/SqliteValueGeneration.csproj b/samples/core/Sqlite/ValueGeneration/SqliteValueGeneration.csproj index 6798d6ed9c..6b2dd3e166 100644 --- a/samples/core/Sqlite/ValueGeneration/SqliteValueGeneration.csproj +++ b/samples/core/Sqlite/ValueGeneration/SqliteValueGeneration.csproj @@ -1,14 +1,14 @@ - net10.0 + net11.0 enable disable Library - + \ No newline at end of file diff --git a/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj b/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj index 582b90f7ae..36cefbe977 100644 --- a/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj +++ b/samples/core/Testing/BloggingWebApi/BloggingWebApi.csproj @@ -1,7 +1,7 @@  - net10.0 + net11.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 c6d92da97f..7a7f53ef4a 100644 --- a/samples/core/Testing/BusinessLogic/BusinessLogic.csproj +++ b/samples/core/Testing/BusinessLogic/BusinessLogic.csproj @@ -1,13 +1,13 @@  - net10.0 + net11.0 EF.Testing.BusinessLogic EF.Testing.BusinessLogic - + diff --git a/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj b/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj index 4e6eaeae41..1c777e1751 100644 --- a/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj +++ b/samples/core/Testing/TestingWithTheDatabase/TestingWithTheDatabase.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.0 EF.Testing.IntegrationTests EF.Testing.IntegrationTests false diff --git a/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj b/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj index 4cc90dc111..6b6768afa1 100644 --- a/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj +++ b/samples/core/Testing/TestingWithoutTheDatabase/TestingWithoutTheDatabase.csproj @@ -1,15 +1,15 @@ - net10.0 + net11.0 EF.Testing.UnitTests EF.Testing.UnitTests false - - + + diff --git a/samples/end2end/PlanetaryDocs/Directory.Build.props b/samples/end2end/PlanetaryDocs/Directory.Build.props index 09bb94e99e..e403e2c9da 100644 --- a/samples/end2end/PlanetaryDocs/Directory.Build.props +++ b/samples/end2end/PlanetaryDocs/Directory.Build.props @@ -1,7 +1,7 @@ - 10.0 + 11.0 true diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj index d8220e6244..5b8a19f562 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs.DataAccess/PlanetaryDocs.DataAccess.csproj @@ -1,12 +1,12 @@  - net10.0 + net11.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 a56034f951..8897ba05e3 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs.Domain/PlanetaryDocs.Domain.csproj @@ -1,8 +1,8 @@ - net10.0 - 10.0 + net11.0 + 11.0 Domain models and business logic. diff --git a/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj b/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj index 02a90d1f23..3ca71e3ac7 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocs/PlanetaryDocs.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.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 6630db675d..1624c5d9fa 100644 --- a/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj +++ b/samples/end2end/PlanetaryDocs/PlanetaryDocsLoader/PlanetaryDocsLoader.csproj @@ -2,8 +2,8 @@ Exe - net10.0 - 10.0 + net11.0 + 11.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 5abd228973..9b426d7bca 100644 --- a/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj +++ b/samples/end2end/PlanetaryDocs/Tests/DomainTests/DomainTests.csproj @@ -1,7 +1,7 @@ - net10.0 + net11.0 false diff --git a/samples/global.json b/samples/global.json index 16d276bb5d..9f7f0fc719 100644 --- a/samples/global.json +++ b/samples/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "11.0.100-preview.6.26359.118", + "version": "11.0.100-preview.7.26381.103", "rollForward": "latestMinor" } } \ No newline at end of file From 64f0f8e72066310a41c8aababa2ecaa3eeea0ff1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 20 Aug 2026 01:15:39 +0000 Subject: [PATCH 3/3] Suppress compiled model EF1001 warnings Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com> --- .../core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs | 2 +- samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs b/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs index e7d3a52f40..f79fc0887a 100644 --- a/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs +++ b/samples/core/Miscellaneous/CompiledModels/MultipleRuntimeModels.cs @@ -4,7 +4,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; -#pragma warning disable 219, 612, 618 +#pragma warning disable 219, 612, 618, EF1001 #nullable disable namespace MultipleRuntimeModels; diff --git a/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs b/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs index 3aea2d7771..ac9a3d1c73 100644 --- a/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs +++ b/samples/core/Miscellaneous/CompiledModels/SingleRuntimeModel.cs @@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; -#pragma warning disable 219, 612, 618 +#pragma warning disable 219, 612, 618, EF1001 #nullable disable namespace SingleRuntimeModel;