NHibernate. Join unrelated entities

后端 未结 3 2103
自闭症患者
自闭症患者 2021-01-22 16:34

Is there any way to execute following query with native NHibernate linq provider?

var result =
    (from e1 in Session.Query()
     join e2 in Se         


        
3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-22 17:18

    It's still not supported.

    You should either introduce a relation between the objects or use SQL for the query.

提交回复
热议问题