I agree, it is very confusing. Even after using it and knowing the
solution, I see devs getting tripped up by it.

It's one of the arguments _for_ using an IRepository abstraction around
ISession, in that it reduces this uncertainty and gives direct access to
the IQueryable surface.

-r

On Fri, Aug 10, 2012 at 10:33 PM, Alexander I. Zaytsev <
[email protected]> wrote:

> Hi all,
>
> People often (about 2 times per week) ask following questions on
> StackOverflow
>
> http://stackoverflow.com/q/11907502/259946
> http://stackoverflow.com/q/11852211/259946
>
> And common answer to such type of questions is
>
> *"You are using QueryOver instead of LINQ (Query<T>() extension method)"
> *
> So I think we should perform some actions to remove these kind of
> confusions between QueryOver and Linq APIs.
>
> I think it is because Query<> is an extension method and could not be easy
> found if you don't know where it is.
>
> What do you think?
>
> Best Regards, Alex.

Reply via email to