I use asp.net boilerplate for my back end
I created app service that inherits AsyncCrudAppService<GettingApproved, GettingApprovedDto, int, PagedGettingApprovedResultRequestDto, CreateGettingApprovedDto, GettingApprovedDto>
But my GettingApproved entity has foreign key to another entity. How I can Include this entity?
Or override GetAll() method?
Eugene,
You can override it like this:
If you are mot using the
CreatedFilteredQuerymethod, you can override theGetAlllike this,If you are using it you have to add the
GetAllIncludingsection too like this: