作者:mobiledu2502892513 | 来源:互联网 | 2023-10-12 21:05
Repository WithDetails() function need ThenInclude() function in "many to many" scene
该提问来源于开源项目:abpframework/abp
referencing the Volo.Abp.EntityFrameworkCore package to application layer and then how to do that?
Use Include in EF Core to load navigation property
1 2 3
| IRepository userRepository...
userRepository.Include(p=>p.User2Role).ThenInclude(p=>p.Role)
|