feature:给所有仓储类都添加批量更新方法

This commit is contained in:
2025-10-21 13:14:34 +08:00
parent 5a3242a90b
commit e995ec7207
17 changed files with 191 additions and 5 deletions

View File

@@ -39,6 +39,13 @@ public interface IBaseRepository<T> where T : class
/// <summary>
/// 异步批量更新实体。
/// </summary>
/// <param name="entities">要更新的实体列表。</param>
Task<int> UpdateAsync(List<T> entities);
/// <summary>
/// 异步根据实体列表批量删除实体。
/// </summary>