mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-20 04:48:16 +08:00
- 增加 List\<T1\> 扩展方法 IncludeMany,实现从已知的内存 List 数据,进行和 ISelect.IncludeMany 相同功能的贪婪加载;
This commit is contained in:
@ -956,5 +956,12 @@ namespace FreeSql.Internal.CommonProvider
|
||||
});
|
||||
return this;
|
||||
}
|
||||
|
||||
internal void SetList(IEnumerable<T1> list)
|
||||
{
|
||||
foreach (var include in _includeToList) include?.Invoke(list);
|
||||
_orm.Aop.ToList?.Invoke(this, new Aop.ToListEventArgs(list));
|
||||
_trackToList?.Invoke(list);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user