NHibernate Forge
The official new home for the NHibernate for .NET community

Browse Site by Tags

Showing related tags and posts across the entire site.
  • Checking if an Unloaded Collection Contains Elements

    If you want to know if an unloaded collection in an entity contains elements, or count them, without actually loading them, you need to use a custom query; that is because the Count property (if the collection is not mapped with lazy=”extra” ) and the LINQ Count() and Any() methods force...
    Posted to How to by Ricardo Peres on 11-18-2011
    Filed under: collections, HQL, Nhibernate
Page 1 of 1 (20 items)
Powered by Community Server (Commercial Edition), by Telligent Systems