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

Commit cc40449

Browse files
committed
fix opening named db connection
1 parent 1353dfb commit cc40449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceStack.OrmLite/DbScriptsAsync.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private async Task<IDbConnection> OpenDbConnectionFromOptionsAsync(Dictionary<st
8585

8686
if (options.TryGetValue("namedConnection", out var namedConnection))
8787
{
88-
return await DbFactory.OpenDbConnectionStringAsync((string) namedConnection);
88+
return await DbFactory.OpenDbConnectionAsync((string) namedConnection);
8989
}
9090
}
9191

0 commit comments

Comments
 (0)