UnitOfWork
UnitOfWork copied to clipboard
how to use Auto Include
I‘m working with my MenuTree,this is my code
var res = await _worker.GetRepository<Menu>().GetFirstOrDefaultAsync(predicate: c => c.Id.Equals(id)
,include:source=>source.Include(c=>c.Menus).ThenInclude(c=>c.Menus).ThenInclude(c => c.Menus).ThenInclude(c => c.Menus));``
if i only use one include ,they just include once. but how can i use one include to finnish my MenuTree
这是来自QQ邮箱的假期自动回复邮件。 您好,我最近正在休假中,无法亲自回复您的邮件。我将在假期结束后,尽快给您回复。