What is the reason of this error? My class is Course and it has notes. Mapping is as below. Any idea?
<bag name="Notes" table="NOTE" cascade="all">
<key column="COURSEID"/>
<one-to-many class="Server.Data.Note, Server.Data"/>
</bag>
<bag name="Notes" table="NOTE" cascade="all" inverse="true">
<key column="COURSEID"/>
<one-to-many class="Server.Data.Note, Server.Data"/>
</bag>
inverse="true" solves my problem :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With