Just wondering what everyones thoughts on what ORM to use for SQL Azure?
I’m fairly comfortable using LINQ-to-SQL and I believe it is possible to get it working with SQL Azure. However, from my understanding (correct me if I’m wrong), no further improvements will be made to Linq-to-SQL in future releases of the .NET framework?
Alternatively, there is the entity framework… and further afield from the Microsoft Camp is NHibernate.
Ideally, any additional suggestions made should be free or open source. I have seen Telerik’s ORM but this of course, is a commercial product.
I can get the definitions/benefits of each ORM myself by doing a Google search, but I was just interested in peoples opinions as to which ORM seems to work best for them (even if it is none of the above)
We’re using NHibernate on Azure at the moment and are finding it pretty good.
Because we’re using s#arp architecture to provide the majority of the plumbing code for NHibernate and Dependency Injection we’ve managing to get projects fired up pretty quickly with a good solid foundation. All told it’s been pretty painless but there can be a bit of a steep learning curve with NHibernate when you first start.
I’m not sure if you’re aware of Fluent NHibnerate – http://fluentnhibernate.org – but it’s a great tool and will automatically map your business objects onto your database. It can of course be customised to whatever behaviour you need.