Skip to content

Commit 3607568

Browse files
committed
Add constructor that accepts DbConnection and bool contextOwnsConnection
1 parent 0ebada7 commit 3607568

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/AbpCompanyName.AbpProjectName.EntityFramework/EntityFramework/AbpProjectNameDbContext.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ public AbpProjectNameDbContext(DbConnection dbConnection)
4848
{
4949

5050
}
51+
52+
public AbpProjectNameDbContext(DbConnection dbConnection, bool contextOwnsConnection)
53+
: base(dbConnection, contextOwnsConnection)
54+
{
55+
56+
}
5157
}
5258

5359
public class AbpProjectNameDbConfiguration : DbConfiguration

0 commit comments

Comments
 (0)