在Metro中使用NHibernate [英] Using NHibernate in a Metro

查看:84
本文介绍了在Metro中使用NHibernate的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将一个应用程序从iOS移植到Win8,并希望在应用程序中使用NHibernate来存储关系数据,但是每当我添加NHibernate.dll& lesli.Collections.dll我收到以下错误:

I am porting an app from iOS to Win8 and would like to use NHibernate in the app to store relational data, but whenever I add the NHibernate.dll & lesli.Collections.dll I get the following errors:

错误2在模块mscorlib.dll中找不到类型System.ApplicationException.

Error 2 Cannot find type System.ApplicationException in module mscorlib.dll.

错误1无法解析程序集或Windows元数据文件'System.Data.dll'

Error 1 Cannot resolve Assembly or Windows Metadata file 'System.Data.dll'

如果有人可以指出可能的解决方案的方向,那我到目前为止还找不到一个

If someone could point me in the direction of possible solution that would be great, I've been unable to find one as of yet

推荐答案

似乎System.Data对Windows Store应用程序不可用. http://visualstudiomagazine.com /blogs/data-driver/2012/09/data-devs-local-access-windows-store.aspx NHibernate严重依赖System.Data.

It seems System.Data is not available for Windows Store applications. http://visualstudiomagazine.com/blogs/data-driver/2012/09/data-devs-local-access-windows-store.aspx NHibernate relies heavily on System.Data.

这篇关于在Metro中使用NHibernate的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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