有谁知道如何将LINQ表达式转换为NHibernate HQL语句? [英] Does anyone know how to translate LINQ Expression to NHibernate HQL statement?

查看:153
本文介绍了有谁知道如何将LINQ表达式转换为NHibernate HQL语句?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人知道将LINQ表达式转换为HQL语句的现有解决方案?



提前感谢所有好的samaritans。



PS



我们已经将Linq用于NHibernate。但是,它只适用于select语句,而HQL对于其他语句类型是有益的,比如delete。所以,Linq到NHibernate不是答案。

解决方案

Linq到nhibernate刚刚被发布。这有帮助吗?


Does anyone know of an existing solution to translate a LINQ Expression to HQL statement?

Thanks in advance to all the good samaritans out there.

P.S.

We already use Linq to NHibernate. However, it only works for select statements, whereas HQL is good for other statement kinds, like delete. So, Linq to NHibernate is not the answer.

解决方案

Linq to nhibernate has just been released . Does that help?

这篇关于有谁知道如何将LINQ表达式转换为NHibernate HQL语句?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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