I think so. Try to convert your query to Criteria first.
RP
On Saturday, November 22, 2014 2:33:31 PM UTC, Roj Beraña wrote:
>
> Will it be able to create a sql script like this?
>
> SELECT * FROM Employee e
> LEFT OUTER JOIN Thing t on e.Id = t.EmployeedId AND t.Name = "A"
> LEFT OUTER JOIN Thing t on e.Id = t.EmployeedId AND t.Name = "B"
>
>
> On Saturday, November 22, 2014 10:15:06 PM UTC+8, Ricardo Peres wrote:
>>
>> Use Criteria instead, it is much more dynamic than QueryOver, in the
>> sense that it takes strings. In the for loop, just use as the alias
>> something like string.Format("alias{0}", i).
>>
>> RP
>
>
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.