Skip to content

Commit 4a2a61f

Browse files
committed
resolved #78
1 parent 072f014 commit 4a2a61f

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ public AbpProjectNameDbContext(string nameOrConnectionString)
3232
}
3333

3434
//This constructor is used in tests
35-
public AbpProjectNameDbContext(DbConnection connection)
36-
: base(connection, true)
35+
public AbpProjectNameDbContext(DbConnection existingConnection)
36+
: base(existingConnection, false)
3737
{
3838

3939
}
40+
41+
public AbpProjectNameDbContext(DbConnection existingConnection, bool contextOwnsConnection)
42+
: base(existingConnection, contextOwnsConnection)
43+
{
44+
45+
}
4046
}
4147
}

0 commit comments

Comments
 (0)