Using Common Table Expressions for hierarchical data in NHibernate(refactoringaspnet.blogspot.com)
submitted by
steele27(115) 1 year ago
NHibernate has no support for hierarchical queries. To get all descendents of a tree node, we have to do a recursive N+1 query. But by using Common Table Expressions (CTE) we can solve this very elegantly.
|category: ALT.NET
|Views: 32
tags:
ALT.NET another
Everyones tags:
Your Tags: