Someone would know how to map a Products table, and the product has different prices for each type of parcel that the customer chooses. For example I created a table called PRECOS and there is FK of the PRODUCT, but at the time of creating the foreach loops and popular datagrid it is necessary that each PRODUCT lists their different prices. To make my question more clear:
A PRODUCT can be split in up to 12x and for each type of parcel the value is different, so there are the tables:
PRODUCT Table
PRODUTOID,
DESCRICAO,
COR,
TAMANHO,
TECNOLOGIA,
FORNECEDOR,
IMAGEM_NOME,
IMAGEM_CAMINHO
PRICE Table
PRECOID,
QTD_PARCELAS,
VALOR,
PRODUTOID
If someone can help me how to create the foreach loop mapping the various prices for various products, I appreciate it!