feature:给所有仓储类都添加批量更新方法
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user