I don't really understand your problem. You query for Person and then again
for person.

Aren't you just forgetting the round brackets after Query<Person> ?

Why do you need to specify the type? Isn't the result typed by default?

-- Ramon



On Tue, Oct 9, 2012 at 10:42 AM, Arman <[email protected]> wrote:

> is there anybody who can help me ?
>
>
>
>
> On Thursday, September 27, 2012 5:50:51 PM UTC+3:30, Arman wrote:
>>
>> With Nhibernate 3.3.1.4000 and Fluent Nhibernate 1.3 , use code like this
>> :
>>
>>         var query = from Person person in Session.Query<Person> select
>> person;
>>         var query2 = from Person person in query select person;
>>
>> you will get "Specified Method not supported" Exception. *BUT if you
>> change them to this, it works :*
>> *
>> *
>>         var query = from person in Session.Query<Person> select person;
>>         var query2 = from person in query select person;
>>
>> i mean if you specify the class type in linq query on query variable ,
>> Nhibernate cannot run the query, but if you remove it's type, it can be run.
>>
>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/nhusers/-/JO-gqbyedKUJ.
> 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.
>

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