开发者

Best ORM for .NET Windows Forms applications? [closed]

As it currently stands, this question is n开发者_如何学Cot a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 12 years ago.

Which one is the best .NET ORM for using in a Windows Forms application?

I like NHibernate, but it seems that NHibernate is mostly used in web applications.


NHibernate should work just fine in a forms application. You're storing and retrieving data against a database; it doesn't matter whether you throw that data through a web application, a forms application, write it to a text file, print it out, use it to control a nuclear power plant, whatever.


I have been using Entityspaces http://www.entityspaces.net for over 3 years now. Easy to use, easy to extend, relatively inexpensive, excellent performance, excellent support, and it is always being improved.


Why not ADO.NET Entity Framework?


There's no reason to not use NHibernate in a WinForms app. Nothing really ties NHibernate to the web. If you are already comfortable with it and like it, you can continue to use it on the desktop without fear.

If you just want to see your other options, then refer to other SO questions:

What are your favorite .NET Object Relational Mappers (ORM)?

Best Performing ORM for .NET

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜