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.
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.
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)?