forked from npgsql/efcore.pg
-
Notifications
You must be signed in to change notification settings - Fork 1
EFCore 10 正式版适配 #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
升级 EFCore 及相关依赖至 10.0.0 正式版,统一切换 GaussDB 驱动为 HuaweiCloud.Driver.GaussDB 系列,移除 Npgsql 依赖。重构 Provider 内部数组、JSON、集合等 LINQ 翻译逻辑,适配 EFCore 10 新机制。增强 Migrations 安全性,完善 SERIAL/IDENTITY 兼容。优化示例项目结构与配置,更新文档链接与元数据。全面提升对 GaussDB 新特性的支持与兼容性。
# Conflicts: # .github/workflows/build.yml # .gitignore # Directory.Build.props # Directory.Packages.props # EFCore.PG.slnx # global.json # src/EFCore.GaussDB/Extensions/DbFunctionsExtensions/GaussDBNetworkDbFunctionsExtensions.cs # src/EFCore.GaussDB/Extensions/DbFunctionsExtensions/NpgsqlCubeDbFunctionsExtensions.cs # src/EFCore.GaussDB/Extensions/Internal/GaussDBShapedQueryExpressionExtensions.cs # src/EFCore.GaussDB/Infrastructure/GaussDBDbContextOptionsBuilder.cs # src/EFCore.GaussDB/Infrastructure/Internal/GaussDBOptionsExtension.cs # src/EFCore.GaussDB/Metadata/Conventions/GaussDBConventionSetBuilder.cs # src/EFCore.GaussDB/Metadata/Conventions/GaussDBModelFinalizingConvention.cs # src/EFCore.GaussDB/Metadata/Conventions/GaussDBRuntimeModelConvention.cs # src/EFCore.GaussDB/Query/ExpressionTranslators/Internal/GaussDBMemberTranslatorProvider.cs # src/EFCore.GaussDB/Query/ExpressionTranslators/Internal/GaussDBNetworkTranslator.cs # src/EFCore.GaussDB/Query/ExpressionTranslators/Internal/NpgsqlCubeTranslator.cs # src/EFCore.GaussDB/Query/Internal/GaussDBQuerySqlGenerator.cs # src/EFCore.GaussDB/Query/Internal/GaussDBQueryableMethodTranslatingExpressionVisitor.cs # src/EFCore.GaussDB/Query/Internal/GaussDBSqlNullabilityProcessor.cs # src/EFCore.GaussDB/Query/Internal/GaussDBSqlTranslatingExpressionVisitor.cs # src/EFCore.GaussDB/Query/Internal/GaussDBSqlTranslatingExpressionVisitorFactory.cs # src/EFCore.GaussDB/Storage/Internal/GaussDBDataSourceManager.cs # src/EFCore.GaussDB/Storage/Internal/GaussDBDatabaseCreator.cs # src/EFCore.GaussDB/Storage/Internal/GaussDBTypeMappingSource.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/GaussDBCidrTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/GaussDBJsonTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/GaussDBOwnedJsonTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/GaussDBTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/NpgsqlCidrLegacyTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/NpgsqlCubeTypeMapping.cs # src/EFCore.GaussDB/Storage/Internal/Mapping/NpgsqlStructuralJsonTypeMapping.cs # src/EFCore.GaussDB/Update/Internal/GaussDBUpdateSqlGenerator.cs # src/EFCore.PG/Query/ExpressionTranslators/Internal/NpgsqlMethodCallTranslatorProvider.cs # src/EFCore.PG/Query/Expressions/PgExpressionType.cs # src/EFCore.PG/Storage/Internal/Mapping/NpgsqlOwnedJsonTypeMapping.cs # test/EFCore.GaussDB.FunctionalTests/BulkUpdates/ComplexTypeBulkUpdatesNpgsqlTest.cs # test/EFCore.GaussDB.FunctionalTests/ComplexTypesTrackingGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/GaussDBDatabaseCreatorTest.cs # test/EFCore.GaussDB.FunctionalTests/PropertyValuesGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/ArrayArrayQueryTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/ArrayListQueryTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/ArrayQueryTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/PrimitiveCollectionsQueryGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/ComplexRelationshipsGaussDBFixture.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Include/NavigationIncludeGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/NavigationRelationshipsGaussDBFixture.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/OwnedJsonRelationshipsGaussDBFixture.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/OwnedJsonTypeRelationshipsGaussDBFixture.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/OwnedRelationshipsGaussDBFixture.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/ComplexNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/ComplexProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/NavigationNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/NavigationProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/NavigationReferenceNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/NavigationReferenceProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedJsonNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedJsonProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedJsonReferenceNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedJsonReferenceProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedReferenceNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedReferenceProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedTableSplittingNoTrackingProjectionGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Relationships/Projection/OwnedTableSplittingReferenceProjectionNoTrackingGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/CubeTranslationsTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/MathTranslationsGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/NetworkTranslationsGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/StringTranslationsGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/Temporal/DateTimeTranslationsGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Query/Translations/Temporal/TimeOnlyTranslationsGaussDBTest.cs # test/EFCore.GaussDB.FunctionalTests/Update/ComplexCollectionJsonUpdateNpgsqlTest.cs # test/EFCore.GaussDB.Tests/EFCore.GaussDB.Tests.csproj # test/EFCore.GaussDB.Tests/GaussDBRelationalConnectionTest.cs # test/EFCore.GaussDB.Tests/Storage/GaussDBTypeMappingTest.cs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.