Hello Gays
I'm using NHibernate 1.2 Beta and MySQL 5 - and have a problem. This is My mapping:
<list name="Products"
table="Purchases_Products"
lazy="false"
cascade="none"
inverse="true"
generic="true" >
<key column="PurchaseId"/>
<index column="Indexer" type="Int32" />
<many-to-many class="eShop.Model.Products.Product, Model" column="ProductId"/>
</list>
Saving executing normaly, but when I trying to Select Purchase, In DB the Purchase that I trying to resolve - Coping with updating all references to own id; I don't know why that cause...???
Can somebody help Me with that - Thanks
|