mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
Optimized code
This commit is contained in:
parent
a14c096317
commit
d9b158bcfa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user