Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 71ba1f5

Browse files
committed
Add EnableLegacyCaseInsensitiveDbParameters Npgsql switch for v6 migration.
1 parent 9cf865b commit 71ba1f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceStack.OrmLite.PostgreSQL/PostgreSQLDialectProvider.cs

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ public PostgreSqlDialectProvider()
7575

7676
#if NET6_0
7777
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);
78+
AppContext.SetSwitch("Npgsql.EnableLegacyCaseInsensitiveDbParameters", true);
7879
RegisterConverter<DateOnly>(new PostgreSqlDateOnlyConverter());
7980
#endif
8081

0 commit comments

Comments
 (0)