And you have idea about this?SELECT Count(Value) FROM PageTags GROUP BY Value
2009/9/11 ulu <[email protected]> > > Hi, > > I'm trying to fetch a list of values, rather than entities. > Specifically, I've got a Page entity with a set of tags, atag being a > string, and I'm trying to do something similar to > SELECT Count(Value) FROM PageTags GROUP BY Value > > My mapping is: > <set name="Tags" table="PageTags" > access="nosetter.camelcase- > underscore"> > <key column="PageId" /> > <element column="Value" type="String" /> > </set> > > I tried: > _session.CreateQuery("select page.Tags from ServicePageStructure > page").List() > and > _session.CreateCriteria(Of QnA)().CreateCriteria("Tags") > but have no idea what to try next. > > Please help > > thanks a lot > ulu > > > > -- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
