Open Closed

Can not map Entity to Entity Dto in Module. #2631

krushnakant created
  • ABP Framework version: v4.4.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • In Abp Module whenever we try to map Entity -> EntityDto , where EntityDto having more properties than Entity class it gives error of unmapped properties .
  • That's why I have to map every property of Entity to EntityDto manually in AppService and this only happens in Module. So, please provide any solution for this .
  • Thank you.
  • Steps to reproduce the issue:"

1 Answer(s)
  • 0
    gterdem created
    Support Team

    It explains in the error that you have unmapped properties. Either add Country, State, District, Taluka, Village properties with exact name to AddressDto (or manually configure) or ignore them in mapping configuration.