pierre
pierre

Reputation: 1245

Moving to Mono : Entity Framework alternatives

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

Answers (5)

Pawel
Pawel

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

Daniel Lo Nigro
Daniel Lo Nigro

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

TheNextman
TheNextman

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

Garen
Garen

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:

  • How can I use MySQL and Visual Studio to get an equivalently well-integrated experience as I currently do with SQL Server (or other commercial DB)?
  • Which alternative databases and EF-compatible ORMs can I use to get an equivalent design-time experience with MySQL (or another open-source DB) compared to what I currently get with SQL Server (or other commercial DB)?
  • How can I get an equivalently well-integrated Visual Studio debugging, design-time and development experience on a lower cost non-Windows (e.g. Linux) platform?

Depending on which of the above your question(s) is actually closer to, will dictate the answer.

Upvotes: 1

Ray
Ray

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

Related Questions