Hello guys... Can you help-me with that database :
I´m using Fluent NHibernate, but XML helps too... My problem is with ProductPrice table...
Thanks
Paul
Hello guys... Can you help-me with that database :
I´m using Fluent NHibernate, but XML helps too... My problem is with ProductPrice table...
Thanks
Paul
Nothing special...
<class name="ProductPrice">
<id name="Id">
<generator class="..."/>
</id>
<property name="Price"/>
<property name="IsSale"/>
<property name="PriceSale"/>
<property name="Sku"/>
<many-to-one name="ProductSize" column="SizeProductFk"/>
<many-to-one name="ColorProduct" column="ColorProductFk" />
</class>
Of course you have to map ProductSize and ColorProduct as entities.