Can I use NHibernate on Windows Phone 7?

我可以在Windows Phone 7上使用NHibernate吗?


No, NHibernate does not support Windows Phone (or any Compact-Framework platform for that matter). Entity Framework is also unsupported.

As far as ORMs go, the only one I actually know about (there may well be others that I don't know about) is the OpenNETCF ORM, which is not fully implemented for WinPhone. What that means is that there is a WinPhone project for the ORM (usign SQLite as a store) and that project's skeleton has been built (it will create the tables) but to get it to actually do CRUD operations, you would have to do some work. I know someone who did it a while back as a test and it took him under a day.


I don't know anything about NHibernate support of WP7. So far I've found following ORM's that support WP7:

  • Vici CoolStorage
  • mentioned already OpenNETCF.ORM Framework
  • Mono.Data.Sqlite.Orm
  • Hope it helps somebody.

    链接地址: http://www.djcxy.com/p/3442.html

    上一篇: 为什么我的python交互式控制台无法正常工作?

    下一篇: 我可以在Windows Phone 7上使用NHibernate吗?