Hey guys, great work with the list!
I have a question about nhibernate mapping.
I have an entity Player with an id, and a team. I want to map a
collection of players which represents the fellow players of the same
team.
Is that possible to do that in ONE table?
<class name="Player" >
<id name="ID"">
<generator class="increment"/>
</id>
<property name="Team" type="string"/>
</class>
i would like to have smth like this:
<class name="Player" >
<id name="ID"">
<generator class="increment"/>
</id>
<property name="Team" type="string"/>
<bag TeamPlayers ..../>
....
</class>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---