Re: Nhibernate Linq Expression hierarchy
"Jon Stelly" <[email protected]> Sat, 16 Aug 2008 19:40:37 -0500
| Newsgroups | gmane.comp.windows.dotnet.nhibernate.devel |
|---|---|
| Message-ID | <[email protected]> |
One thing I was curious about. In the NHibernate.Linq project that Ayende put together, it seems that if you had a condition that referenced a property that wasn't mapped in NHibernate you would get a runtime exception. I could see two ways of dealing with this, both seem valid to me. Option one is to move all of those conditions onto some sort of "deferred" list and use LINQ to objects to process those conditions after NHibernate returns its' data. Option two would be to require that the caller split those operations into two groups, run the NHibernate LINQ query, then run the LINQ to objects query over the returned list. Any thoughts? On Sat, Aug 16, 2008 at 4:34 PM, Fabio Maulo <[email protected]> wrote: > 2008/8/16 Tuna Toksöz <[email protected]> > >> >> I have to admit that I have been affected by Wayward's posts >> >> http://blogs.msdn.com/mattwar/ >> >> > Yes, is a good place since Part I > http://blogs.msdn.com/mattwar/archive/tags/LINQ/default.aspx > > -- > Fabio Maulo > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nhibernate-development mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/nhibernate-development > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nhibernate-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nhibernate-development