Hi,
I am getting the following exception when one of my collections is being lazy loaded and I can't for the life of me see where the mapping error is in my XML:
Code:
Could not load type 'System.Int32, NHibernate, Version=1.0.2.0, Culture=neutral, PublicKeyToken=154fdcb44c4484fc', check that type and assembly names are correct
The mapping in the Parent object looks like this:
Code:
<bag name="Children" table="Child" inverse="true" lazy="true" cascade="all-delete-orphan">
<cache usage="nonstrict-read-write"/>
<key column="ParentID"/>
<one-to-many class="MyDomain.Child, MyDomain"/>
</bag>
Would appreciate any pointers to help fix this one.
Thanks,
Jason