Product table(db) - Product(class) - ProductOverviewModel

Monday, November 25, 2024 9:24:19 PM
  • Posted: Thursday, August 6, 2020 3:56 AM
  • 34
Hi everyone!
I do new column "Videosrc" in Product table MongoDb.
I add "public string Videosrc {set; get;}" in Product class.
It's work! But if I using productService.

But if i add "public string Videosrc {set; get;}" in ProductOverviewModel, it's don't work.
string src = @product.Videosrc all return 'null'

How to relation Product and ProductOverviewModel?

Thanks.
0
  • Posted: Thursday, August 6, 2020 7:12 AM
  • 74
Evgeny wrote:
How to relation Product and ProductOverviewModel?

There is no AutoMapper for ProductOverviewModel.
Best regards,
Tomasz
GrandNode Team
0
  • Posted: Thursday, August 6, 2020 7:15 AM
  • 34
Hi,
how to add AutoMapper?
0
back to top
Filters