小编use*_*482的帖子

NHibernate返回Dictionary <int,string>

是否可以<int, string>从nhibernate查询中返回Dictionary ,例如:

CreateQuery("select CustomerId, FullName from Customer")  
Run Code Online (Sandbox Code Playgroud)

我已经尝试使用.net ToDictionary方法从这个论坛中的一些例子,但我无法让它们工作.

c# nhibernate dictionary

2
推荐指数
1
解决办法
3750
查看次数

标签 统计

c# ×1

dictionary ×1

nhibernate ×1