Hi guys,
Don't know if this is the right place, but i found a bug (i guess this
is a bug) on linq 2 nhibernate.
I'm using implicit polymorphism, I got a interface and 2 classes
implementing it. So when i run the query below i got the following
error: NotSupportedException("Could not understand: p.IdAgent =
"1234").
var agents = session.Linq<IAgent>().Where(p => p.IdAgent ==
"1234").ToList();
Looking for answers on google i found the JIRA NHLQ-17 that was about
the same exception. I tested the query (querying the IAgent interface)
using only the Criteria API and it worked just fine, maybe the linq is
missing something when evaluating the expression?!?
Thanks in advance!
Marcus Rehm
On Jul 21, 2:10 pm, Tuna Toksoz <[email protected]> wrote:
> Single tables and relations defined on the entity mapping, i could say.
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksozhttp://tunatoksoz.comhttp://twitter.com/tehlike
>
> On Tue, Jul 21, 2009 at 6:58 PM, Chris Geihsler <[email protected]> wrote:
>
> > In my experience, it works very well for single-table queries. Once
> > the queries start requiring a few joins, it falls down.
>
> > -cg
>
> > On Jul 21, 11:05 am, Fregas <[email protected]> wrote:
> > > How mature is it? Can you do most things in linq that you would
> > > normally use criteria for?
>
> > > On Jul 21, 1:53 am, David Perfors <[email protected]> wrote:
>
> > > > It is not part of the newest release.. I use it for our current
> > > > project which will (hopefully) go in production at the end of the
> > > > year. But I hope to see a Linq implementation inside NHibernate before
> > > > hitting production...
>
> > > > David
>
> > > > On Jul 21, 1:14 am, Fregas <[email protected]> wrote:
>
> > > > > Does anyone know the status of this project? Is it part of the
> > newest
> > > > > NH release or still part of NH contrib? Is anyone using it in
> > > > > production?
>
> > > > > Thanks,
> > > > > Craig
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---