Considering this example:

        public class User
        {
            public virtual Guid Id { get; set; }
            public virtual IDictionary<FavPlace, Position>
FavoritePlaces { get; set; }
        }

    <map name="FavoritePlaces">
      <key column="UserId"></key>
      <index-many-to-many class="FavPlace" column="FavPlaceId"/>
      <many-to-many class="Position" column="PositionId"/>
    </map>


How can I query for all users which have a specific FavPlace in their
FavoritePlaces using the criteria api?

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