Hi all,

I have the following database structure where I extended it with an
extra table "IndexLocalizationTags"

    Index <- IndexLocalization <-IndexLocalizationTags

The following is a code-snippet to show how I intended to access it

   // Get a index from the database
   var index = session.Get<Index>(currentIndexId);

   // Get the first tag in french
   string tagValue = index.Local["FR"].Tags[0]

I previously used the <map/> construction as the localized data is
part of the index

Current mapping:

<class name="Index">
  <map name="Local">
    <key column="indexId"/>
    <index column="languageCode"/>
    <composite-element class="IndexLocalization">
       <property name="Text">
    </composite-element>
  </map>
</class>

I want to extend this composite element but a nested composite-element
seems to fail.

What are my options in configuring this? I "googled" a lot but it
seems that this construction is not used a lot if used at all so I am
getting the feeling that I'm doing something I should not do this way.

Any advise is very appreciated.

Ramon
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to