Re: Nhibernate Linq Expression hierarchy

"Ayende Rahien" <[email protected]> Sun, 17 Aug 2008 05:45:42 +0300
Newsgroups gmane.comp.windows.dotnet.nhibernate.devel
Message-ID <[email protected]>
+1 on exception for non mapped properties.

On Sun, Aug 17, 2008 at 5:34 AM, Will Shaver <[email protected]> wrote:

> Re: expression tree
>
> Roll with it as you see fit. It is difficult to imagine how it will all be
> put together without getting started.
>
> Re: linq to objects
>
> I'd perfer staying with the exception for non-mapped properties. It could
> get very confusing if we did some kind of linq to objects work without
> telling the user. If the user wants to do linq to objects, it is easy enough
> by doing one linq query to get the entities and then another on those
> entities referencing unmapped properties or methods.
>
>  -Will
>
> On Sat, Aug 16, 2008 at 5:40 PM, Jon Stelly <[email protected]> wrote:
>
>> 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
>>
>>
>
> -------------------------------------------------------------------------
> 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