Skip to content

Conversation

bahusoid
Copy link
Member

#1583 test case works OK with NHibernate 5.3+

Generated SQL also looks valid:

    select
        children1_.ParentId as col_0_0_ 
    from
        Parent parent0_ 
    inner join
        Children children1_ 
            on parent0_.ParentId=children1_.ParentId

Closes #1583

@hazzik
Copy link
Member

hazzik commented Feb 21, 2022

I wonder what has fixed the behaviour:)

@bahusoid
Copy link
Member Author

Not sure but might be #2036 where some complex logic was introduced that tries to correctly detect mapped type for LINQ expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Component's Parent property is not accessible in queries
3 participants