Thanks, now is much clear

2010/8/9 Dor Kolog <[email protected]>

> Sorry for not being clear. Let's assume you have the root as an object and
> you want to query about some nodes in the tree according to some criterion.
> The nodes are not connected directly to the root and can be anywhere in the
> tree.
>
> On Mon, Aug 9, 2010 at 9:04 PM, José F. Romaniello <[email protected]
> > wrote:
>
>> Could you show some mappings? It is hard to follow you with those R, D and
>> L
>>
>> 2010/8/9 MadCow <[email protected]>
>>
>> Hi,
>>> In a project I'm working on, I use NHibernate over MS-SQL. I use the
>>> database to represent trees (one-to-many relation)
>>> I want, in some way, to query on different nodes in a single tree, or
>>> a single path in the tree, where the nodes are not connected directly,
>>> Meaning, if a root R has a descendant D, whose one of its descendants
>>> is a leaf L, I want to query on D based on parameters of L and R (or
>>> vice-versa, according to R and L query on D).
>>>
>>> Is there a way to represent this query in NHibernate ? As far as I
>>> know, QBE almost serves my needs. Is there a better way doing this ?
>>>
>>> Thanks.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "nhusers" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to
>>> [email protected]<nhusers%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/nhusers?hl=en.
>>>
>>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "nhusers" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<nhusers%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/nhusers?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<nhusers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/nhusers?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to