tags:

views:

66

answers:

2

Hi,

I'm starting up a rather large-scale open source server project written in C# which targets both the MS.NET and Mono platforms. However, I realized that Mono only has limited support for LINQ to SQL, and no support for the Entity Framework at all.

Two ORMs I have considered are NHibernate and SubSonic. However, I have no idea how either will operate on Mono 2.8 (which is what I'm targeting).

So, can anyone recommend an ORM that will run on Mono 2.8, or happen to have used some of the aforementioned ORMs successfully under Mono?

Thanks in advance.

+6  A: 

Mono supports:

  • NHibernate - Free, open source, proven and tested. Easy to configure. My personal favorite.
  • db4o - Free if you open-source your own project. You have to license it for commercial apps. Much less well-known than NHibernate.
  • siaqodb - Available for Mono 2.4 and up. You have to pay $185 for a license, but the redistributable engine is royalty-free.

In choosing from this list, I'd suggest NHibernate. Lots of help is available out there for it and it works fabulously.

Rap
I guess I'll give NHibernate a shot.
Zor
+2  A: 

You sure NHibernate doesn't work on Mono? You should be able to use the same Assemblies at Mono. Another option is to download it's source and compiling it. Check this page https://forum.hibernate.org/viewtopic.php?f=25&t=951909&start=0

Guilherme Oenning
I'll test out NHibernate on Mono and see how it goes.
Zor