Optimized code

This commit is contained in:
sunkaixuan 2023-03-03 18:36:55 +08:00
parent a14c096317
commit d9b158bcfa

View File

@ -57,8 +57,12 @@ namespace SqlSugar
this.Context.AddQueue("end \r\n");
result +=this.Context.SaveQueues(false);
});
if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
result=objects.Length;
//if (this.Context.CurrentConnectionConfig.DbType == DbType.Oracle)
// result=objects.Length;
if (result == -1)
{
result = objects.Length;
}
return result;
}
public async Task<int> DefaultExecuteCommandAsync()