Retrieve child entities from CrudAppService in ABP

前端 未结 5 1049
忘了有多久
忘了有多久 2021-01-03 16:47

The GetAll and Get methods of the ready-made CrudAppService don\'t include child entities.

Is it possible to modify its behavi

5条回答
  •  无人及你
    2021-01-03 17:28

    Yes, You have to include explicitly like this.

    GetAll().Include(i => i.ChildEntities)
    

提交回复
热议问题