- 调整 Repository 接口定义,合并为一个 IBaseRepository;

This commit is contained in:
28810
2020-03-25 13:36:13 +08:00
parent 5e9975891e
commit 58aa99a6e6
15 changed files with 134 additions and 216 deletions

View File

@ -105,7 +105,7 @@ namespace FreeSql
repo.Update(buf);
}
T UpdateIsDelete<T>(bool value, Func<BaseRepository<TEntity>, List<TEntity>, T> func)
T UpdateIsDelete<T>(bool value, Func<IBaseRepository<TEntity>, List<TEntity>, T> func)
{
var childs = GetAllChilds();
childs.Add(this as TEntity);