From e93ad7a1380349636d03771220fb27671a1c1c59 Mon Sep 17 00:00:00 2001 From: Shay Rojansky Date: Sat, 11 May 2024 10:07:22 +0200 Subject: [PATCH] Use Npgsql 8.0.3 --- Directory.Packages.props | 2 +- src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0fb184004..11a01c9ad 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -2,7 +2,7 @@ 9.0.0-preview.3.24172.4 9.0.0-preview.3.24172.9 - 8.0.2 + 8.0.3 diff --git a/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs b/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs index d6661e7fb..5c03e6868 100644 --- a/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs +++ b/src/EFCore.PG/Storage/Internal/NpgsqlTypeMappingSource.cs @@ -362,6 +362,7 @@ public virtual void LoadUserDefinedTypeMappings( NpgsqlDataSource? dataSource) => SetupEnumMappings(sqlGenerationHelper, dataSource); +#pragma warning disable NPG9001 /// /// Gets all global enum mappings from the ADO.NET layer and creates mappings for them /// @@ -407,6 +408,7 @@ is PropertyInfo globalEnumTypeMappingsProperty } } } +#pragma warning restore NPG9001 /// /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to