Hi,
I have the following DB Table
CREATE TABLE ProductPrice
ProductID
Qty1
Price1
Qty2
Price2
Qty3
Price3
My domain classes look like this
Class ProductPrice
ProductID As Integer
PriceBands As IList(of PriceBand)
End Class
Class PriceBand
Qty As Integer
Price As Decimal
End Class
I know we can use the "component" mapping to map a single row into different objects but is it possible to map a collection of objects as described above?
Many Thanks
James