0
Someone would know how to map a Products table, and the product has different prices for each type of parcel the customer chooses. For example I created a table called PRICES and in it there is FK of the PRODUCT, but when creating foreach links and popular the datagrid is necessary that each PRODUCT lists its different prices. To clarify my question:
A PRODUCT can be parceled up to 12x and for each type of parcel the value is different, so there are tables:
PRODUCT TABLE
PRODUTOID,
DESCRICAO,
COR,
TAMANHO,
TECNOLOGIA,
FORNECEDOR,
IMAGEM_NOME,
IMAGEM_CAMINHO
PRICE TABLE
PRECOID,
QTD_PARCELAS,
VALOR,
PRODUTOID
If anyone can help me how to create the link foreach mapping the various prices relating to various products, I would appreciate it very much!