When you want multiple properties to form a unique constraint you add
index = "myIndexName". Is there a way to do this with an idbag?
<idbag name="Address" table="OfficeAddresses" inverse="false">
<collection-id column="Id" type="System.Guid">
<generator class="guid.comb" />
</collection-id>
<key column="Office" ????index???? />
<many-to-many class="Address" column="Address" ????index???? />
</idbag>
Thank you
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.