Reputation: 1245
We've been working on in VS2010 and EF and various discussions around scalability and costing have led us to look into moving to Mono.
I understand almost all of my code would be functional, except the EF that we're using for our model (ASP.NET project).
Can anyone recommend an easy to use ORM that will allow us to do much of the same mapping (Foreign Keys etc) operations with MySQL? One thing I did like was the visual element of the EF modeling, making it very simple to make changes and see relationships.
Upvotes: 5
Views: 5385
Reputation: 31620
Today I tried Entity Framework 6 alpha2 with Mono. It's not quite there yet but I believe the issues can be fixed.
Upvotes: 1
Reputation: 3424
Mono 2.11.3 now comes bundled with Entity Framework. This is just a preview release, but the upcoming 2.12 release should fully support Entity Framework :)
See http://tirania.org/blog/archive/2012/Aug-13.html
Upvotes: 17
Reputation: 12566
Now that EF is open source, you can likely expect it to be usable with Mono soon
http://mono.1490590.n4.nabble.com/Entity-Framework-goes-to-opensource-td4650600.html
Upvotes: 5
Reputation: 961
As written, there is no answer to your question because it is ill-formed. In the title, you mention wanting an "Entity Framework alternative", but your latter comments indicate you're looking for more than what the Entity Framework provides--so even if one existed it would not give you everything you wanted.
Without more specifics, it appears you want to say something more akin to:
Depending on which of the above your question(s) is actually closer to, will dictate the answer.
Upvotes: 1
Reputation: 4108
If your project is not much complex, Castle ActiveRecord is one of the alternatives. Even though it does not provide FK relationship, it is way easier to use than NHibernate. For instance, AR provide the annotation based configuration instead of verbose XML configuration.
Upvotes: 0