Rhino Security - Mapping Other Entities

4 views
Skip to first unread message

RG

unread,
Dec 15, 2009, 11:56:47 PM12/15/09
to Rhino Tools Dev
May be a silly question but can I do this in my user mapping file

<class name="User" table="Users" xmlns="urn:nhibernate-mapping-2.2">
...
<bag name="Notes" cascade="all" inverse="true">
<key column="ID"/>
<one-to-many class="MyProject.Core.Users.Note, MyProject.Core"/>
</bag>
...

I then create a Note.hbm.xml mapping file...

I am getting an "Association references unmapped class" error when I
try to access any user objects.

Thanks

Rich

Ayende Rahien

unread,
Dec 16, 2009, 5:40:58 AM12/16/09
to rhino-t...@googlegroups.com
This is related to Rhino Security, but the answer is that you are likely hadn't set the hbm file as embedded resource.


--

You received this message because you are subscribed to the Google Groups "Rhino Tools Dev" group.
To post to this group, send email to rhino-t...@googlegroups.com.
To unsubscribe from this group, send email to rhino-tools-d...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhino-tools-dev?hl=en.



Reply all
Reply to author
Forward
0 new messages