mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-02 03:13:58 +08:00
Update Sqlite BulkCopy Tran BUG
This commit is contained in:
@@ -26,7 +26,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
public void CloseDb()
|
public void CloseDb()
|
||||||
{
|
{
|
||||||
if (this.Context.CurrentConnectionConfig.IsAutoCloseConnection)
|
if (this.Context.CurrentConnectionConfig.IsAutoCloseConnection&&this.Context.Ado.Transaction==null)
|
||||||
{
|
{
|
||||||
this.Context.Close();
|
this.Context.Close();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user