Skip to content

Commit 80ec4ae

Browse files
committed
Preserve ConfigureDataSource() callback when applying other context options (#3482)
Fixes #3478 (cherry picked from commit 0db010c)
1 parent 4bf3248 commit 80ec4ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EFCore.PG/Infrastructure/Internal/NpgsqlOptionsExtension.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ public NpgsqlOptionsExtension(NpgsqlOptionsExtension copyFrom)
109109
: base(copyFrom)
110110
{
111111
DataSource = copyFrom.DataSource;
112+
DataSourceBuilderAction = copyFrom.DataSourceBuilderAction;
112113
AdminDatabase = copyFrom.AdminDatabase;
113114
_postgresVersion = copyFrom._postgresVersion;
114115
UseRedshift = copyFrom.UseRedshift;

0 commit comments

Comments
 (0)