开发者

Can I use NHibernate on Windows Phone 7?

Can I use NHi开发者_JAVA技巧bernate on Windows Phone 7?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜