I need help mapping EF Core entities.
I have products table and this table may contain different columns depending on customer customization, text columns will always be. I have a table and an entity called Label where it tells me the name of the column in the table of products. I need to map this to a Label list within the Product entity.
Product Table
-id
-title
-codigo_a
-codigo_b
Label Table
-id -NameColumn -title
I have the records in the label table:
1 - codigo_a - Code A
2 - codigo_b - Code B