yes

2009/6/1 Tuna Toksoz <[email protected]>

> And the query was something like tihs?
>
> from q in session.Linq<MyUser>()
> where q.FirstName=="Fabio"
> select q
>
>
>
> ?
>
>
> Tuna Toksöz
> Eternal sunshine of the open source mind.
>
> http://devlicio.us/blogs/tuna_toksoz
> http://tunatoksoz.com
> http://twitter.com/tehlike
>
>
>
>
> On Mon, Jun 1, 2009 at 4:22 PM, Ahmed Emad <[email protected]> wrote:
>
>> sorry for ambiguity in my words
>> but what i mean that when i tried to Use Linq to Nhibernate
>> i downloadedd the (dlls) and Linq to Nhibernate worked well
>> but there were errors while using join like this Example>>
>>
>> <?xml version="1.0" encoding="utf-8" ?>
>> <hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
>> assembly="NHibernateTest.Entities" namespace="NHibernateTest.Entities" >
>>
>>     <class name="MyUser" table="MyUser" lazy="false" >
>>         <id name="UserId" column="UserId" type="Int32">
>>                         <generator class="native"/>
>>         </id>
>>         <property name="UserAge" column="UserAge" type="Int32"
>> not-null="true" />
>>         <many-to-one  name="Department" class="Department">
>>             <column name="DepartmentId"/>
>>         </many-to-one>
>>         <join table="UserName">
>>             <key column="UserId" not-null="true" />
>>             <property name="FirstName" column="FirstName" type="String"
>> not-null="true" />
>>             <property name="SecondName" column="SecondName" type="String"
>> not-null="true" />
>>         </join>
>>     </class>
>> </hibernate-mapping>
>>
>> it was working before changing the (dlls)
>> so i think that the new dlls doesn't suport Join as it was for older
>> version of NHibernate
>> so is there anewer version which support Linq & <join> property?
>> 2009/6/1 Fabio Maulo <[email protected]>
>>
>>> 2009/6/1 Ahmed Emad <[email protected]>
>>>
>>>> i don't mean that i mean that the NHibernate reference for project which
>>>> support Linq
>>>> doesn't support <join>
>>>> so if i need one i must let the other
>>>> so,
>>>> is there is new version which support both?
>>>>
>>>
>>> To hard to understand for me.
>>>
>>> --
>>> Fabio Maulo
>>>
>>>
>>>
>>
>>
>>
>
> >
>

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