Professional Documents
Culture Documents
http://b2berry.com/2011/11/19/hierarchical-data-persistence-via-closure-table/
Data
1 de 3
BITBL.IT (PODCAST)
General
MVC
FEEDBURNER
.TUMBLR
Professional Development
POSTS
Whitepaper
Windows Azure
Enter keywords...
25/07/2015 7:58
http://b2berry.com/2011/11/19/hierarchical-data-persistence-via-closure-table/
11 COMMENTS
technology nerd
POPULAR
LATEST
COMMENTS
TAGS
Recently, Ive been working with hierarchical data using closure tables. The problem this
technique solves for me is persisting hierarchical relationships of specific entities without any
restriction on the size of the hierarchy and while providing a simple way to query the hierarchy.
Closure tables, above other solutions like path enumeration, maintain referential integrity.
In a series of posts about storing hierarchical data Im going to walk through implementing a
solution for working with hierarchical data at the persistence layer, the application layer, and the
presentation layer. Well see what is necessary to persist the hierarchy in SQL Server 2008, how
we wrap the closure tables in the application, and how we build hierarchy in the user interface with
MVC 3
2 de 3
Categories
Data (8)
MVC (2)
Professional Development (2)
Whitepaper (1)
Windows Azure (1)
25/07/2015 7:58
3 de 3
http://b2berry.com/2011/11/19/hierarchical-data-persistence-via-closure-table/
25/07/2015 7:58