mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Update DeleteByIdAsync
This commit is contained in:
@@ -269,7 +269,7 @@ namespace SqlSugar
|
||||
}
|
||||
public virtual async Task<bool> DeleteByIdAsync(dynamic id)
|
||||
{
|
||||
return await this.Context.Deleteable<T>().In(id).ExecuteCommand() > 0;
|
||||
return await this.Context.Deleteable<T>().In(id).ExecuteCommandAsync() > 0;
|
||||
}
|
||||
public virtual async Task<bool> DeleteByIdsAsync(dynamic[] ids)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user