您如何在NHibernate中合并两个表? [英] How do you do a union of two tables in NHibernate?

查看:46
本文介绍了您如何在NHibernate中合并两个表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要使用NHibernate和HQL合并两个表.我在网上发现的帮助很少,我想知道是否有可能,以及如何做到?

I need to do a union of two tables using NHibernate and HQL. I have found very little help online, and I want to know if it is possible and if so how?

推荐答案

找到了我的答案:

http://www.hibernate.org/117.html#A21

它当前不支持合并或相交.

It doesn't currently support union or intersect.

这篇关于您如何在NHibernate中合并两个表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆