Skip to content

Accept a Func<SqlConnection> instead of a pre-created connection#34

Merged
droyad merged 2 commits intomainfrom
Fix32
Feb 24, 2026
Merged

Accept a Func<SqlConnection> instead of a pre-created connection#34
droyad merged 2 commits intomainfrom
Fix32

Conversation

@droyad
Copy link
Copy Markdown
Member

@droyad droyad commented Feb 24, 2026

Fixed #32

If we use a pre-created connection, then if GetScriptsToExecute and PerformUpgrade is called, an error occurs.

The user could still pass the same connection in via this factory if they really want.

@droyad droyad enabled auto-merge (squash) February 24, 2026 03:56
@droyad droyad disabled auto-merge February 24, 2026 03:57
@droyad droyad merged commit 7429431 into main Feb 24, 2026
3 checks passed
@droyad droyad deleted the Fix32 branch February 24, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PermissionDemand error after update dbup-sqlserver 7.1.0

1 participant