修改仓储
This commit is contained in:
@@ -79,7 +79,9 @@ namespace IRaCIS.Core.Infra.EFCore
|
||||
|
||||
//Task<bool> AddRangeAsync(IEnumerable<TEntity> entities, bool autoSave = false, CancellationToken cancellationToken = default);
|
||||
// 不建议使用,使用跟踪,然后save 部分字段更新,此种方式是更新所有字段
|
||||
Task<bool> UpdateAsync(TEntity entity, bool autoSave = false, CancellationToken cancellationToken = default);
|
||||
//Task<bool> UpdateAsync(TEntity entity, bool autoSave = false, CancellationToken cancellationToken = default);
|
||||
|
||||
|
||||
Task<bool> SaveChangesAsync(CancellationToken cancellationToken = default);
|
||||
Task<bool> DeleteAsync(TEntity entity, bool autoSave = false, CancellationToken cancellationToken = default);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user