Join Unrelated tables in Fluent Nhibernate with QueryOver or CreateCriteria

拈花ヽ惹草 提交于 2019-12-02 09:14:23
Radim Köhler

Solution with NHibernate in this case, is either to use HQL

Joining two unrelated view-tables with nhibernate and ICriteria

14.2. The from clause (small cite and snippet)

Multiple classes may appear, resulting in a cartesian product or "cross" join.

from Formula, Parameter
from Formula as form, Parameter as param

Or create raw SQL. There is some example how to:

NHibernate - QueryOver Child rows as comma separated values

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!