Update DeleteByIdAsync

This commit is contained in:
skx
2020-12-18 11:00:42 +08:00
parent e5064793e1
commit 034908e663

View File

@@ -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)
{