session.Query<T>

On Sat, Jan 22, 2011 at 11:14 AM, Davita <[email protected]> wrote:

> Hi guys
>
> I'm using NHibernate latest builds but unable to work with linq. I
> already added using NHibernate.Linq, so that's not the issue.
> using (ISession session = NHibernateHelper.OpenSession())
> {
>    var sss = session.Linq<Category>().ToArray(); <-- Error mentioned
> above.
> }
>
> Looks like there is no extention method Linq() for ISession, despite
> the fact thath NHibernate.Linq is in uses list. Any idea?
>
> 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.
>
>


-- 
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