What's the depth of relation?
Take qxBlog for example:
When I get a blog from fetch_by_id_with_all_relation(blog), then I get the blog's author which stores in blog->m_author.
Now, If I can get all blog records which have relation to m_author? The length of blog->m_author->m_blogX is zero in my test. I think the Linq & Nibernate can implement this. Do I have to query for a second time?
In something alike scene:
I have 3 tables, which have relation like A->B->C. C is the grandfather of A.
When I get a C, How to travel B and A?
When I get a blog from fetch_by_id_with_all_relation(blog), then I get the blog's author which stores in blog->m_author.
Now, If I can get all blog records which have relation to m_author? The length of blog->m_author->m_blogX is zero in my test. I think the Linq & Nibernate can implement this. Do I have to query for a second time?
In something alike scene:
I have 3 tables, which have relation like A->B->C. C is the grandfather of A.
When I get a C, How to travel B and A?