I am developing a solution. I want to model following structure
Collection 1
Category 1
Sub Category 1.1
Book 1
Book 2
Book 3
Sub Category 1.2
Book 1
Category 2
Sub Category 2.1
Book 2
Sub Category 2.2
Book 3
Sub Category 2.3
Book 4
Category 3
Sub Category 3.1
Book 4
)
What it the best possible way to model it so that it can be traversed in both the direction
1) From collection to Book (i.e. if collection is selected find all the categories, sub categories, and books under that.)
2) From book to collection (i.e. if book is selected should be able to find which sub category, category and collection it belongs to)