Hi all,
I've got the following mapping in hbm.xml.
How would I convert this to using the mapping by code syntax?
Any help appreciated.
Regards
Sean.
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
assembly="SalamanderSoft.OnlineReporting.Core"
namespace="SalamanderSoft.OnlineReporting.Core.Domain.CachedDataMapper">
<class name="ExtractedPersonData">
<composite-id>
<key-many-to-one name="Type"/>
<key-property name="ExtractedPersonDataID"/>
</composite-id>
<property name ="Forename"/>
<property name ="Surname"/>
<property name ="Data" not-null="true"/>
</class>
</hibernate-mapping>
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/groups/opt_out.