luckily, nobody is answering... that mean there are very few people using
it, as expected in ORM.
Well from API:
Set the lockmode for the objects idententified by the
given alias that appears in the <c>FROM</c> clause.

alias
a query alias, or this for a collection filter

s.CreateQuery("from Pizza p where p.Name= :pName").SetLockMode("p",
LockMode.Upgrade).SetParameter("pName", "Quattro stagioni");

2009/11/25 Graham Bunce <[email protected]>

> /bump
>
> Anybody able to explain what the alias should be for an HQL based
> IQuery?
>
> --
>
> 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.
>
>
>


-- 
Fabio Maulo

--

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