NHibernate "illegal access to loading collection" error

Posted by NetSide on Stack Overflow See other posts from Stack Overflow or by NetSide
Published on 2009-11-23T15:12:21Z Indexed on 2010/04/28 6:33 UTC
Read the original article Hit count: 224

Filed under:

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>

© Stack Overflow or respective owner

Related posts about nhibernate-mapping