Hi,
Using NHibernate I use the following kind of mapping which results in
the creation of a database index on the foreign key. Apparently there
is no way to achieve this using AR. Am I correct? I would like to have
this feature back.
<bag name="Items" cascade="all-delete-orphan"
access="nosetter.camelcase">
<key>
<column name="OrderId" index="IX_FK_Order"/>
</key>
<one-to-many class="My.Domain.OrderItem, My.Domain"/>
</bag>
see also: http://forum.castleproject.org/viewtopic.php?p=15391#15391
Thanks in advance!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---