You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.
I have abstract class Animal and his children Cat, Dog, Lion. Cat, Dog, Lion are stored in database. So I created 3 dto's CatDto, DogDto, LionDto, and in them it has been implemented Expression<Func<Cat, CatDto>, and so on, as in your app. I want to create abstract class AnimalDto, and combine the common initialization of Cat, Dog, Lion, and use Projection of AnimalDto in CatDto, DogDto, and LionDto. How can it be done? Or it has another way to solve?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hello, Jason.
First, thank you for this great sample app.
I have abstract class Animal and his children Cat, Dog, Lion. Cat, Dog, Lion are stored in database. So I created 3 dto's CatDto, DogDto, LionDto, and in them it has been implemented Expression<Func<Cat, CatDto>, and so on, as in your app. I want to create abstract class AnimalDto, and combine the common initialization of Cat, Dog, Lion, and use Projection of AnimalDto in CatDto, DogDto, and LionDto. How can it be done? Or it has another way to solve?
Thanks a lot!
The text was updated successfully, but these errors were encountered: