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