是否可以<int, string>从nhibernate查询中返回Dictionary ,例如:
<int, string>
CreateQuery("select CustomerId, FullName from Customer")
我已经尝试使用.net ToDictionary方法从这个论坛中的一些例子,但我无法让它们工作.
c# nhibernate dictionary
c# ×1
dictionary ×1
nhibernate ×1