Microsoft ADO.NET Entity Framework 4.1 Released
blogs.msdn.com
blogs.msdn.com
We are a Microsoft shop. However recently we've had to integrate with Oracle and now MySql. Oracle has just released beta support for EF: http://www.oracle.com/technetwork/topics/dotnet/downloads/or...
We have been Using Cool Storage (http://viciproject.com/wiki/projects/coolstorage/home) for quite some time. Honestly, It's the best ORM I've ever used. It stays out of your way and it doesn't surprise you. It's very easy to set up.
I'm surprised it hasn't gained more popularity. Cool Storage is the reason I haven't kept up on EF and the changes to ADO.NET. Bonus: it works with Oracle and other non MSFT databases. Bonus++: It's open source.
- .NET 3.5 / SQL Server
- .NET 3.5/ Oracle
- .NET 3.5 / MySql
- .NET 3.5 / Sqlite
- .NET 3.5 / MS Acess
- .NET 3.5 / VistaDB
- MonoTouch / Sqlite
- MonoDroid / Sqlite
- Windows Phone 7 / Sqlite
- Mono / Sqlite
Really great for F/OSS web projects on the MS stack since you don't have to perform the completely asinine step #1 of contributing, "Set up a SQL Express instance..."
Disclaimer: I have a good friend on the EF team and question almost everything they do :)
Some projects prefer to work in the OO domain, and treat persistence as something that should just be taken care of. DBAs don't always exist or have the final say. Then on the other end, you have things you describe, where the DBA defines everything related to the database, and that's that.
The domain driven design seems to work great for the brand new RoR apps. I enjoyed those when I did them b/c there was no crufty legacy schema.
I'd be curious to know how much code is written against legacy schemata versus green field development.
As an alternative to a full blown framework, I'd go with a simple object mapper, like
Still I'm glad they've released this, more "out of band" releases from Microsoft are a good thing. When frameworks and features aren't tied to Visual Studio releases mean the individual teams can iterate a lot quicker (the MVC and Silverlight teams are good examples).
Apparently there are some serious changes to the core of EF that need to happen to support Enums. My friend tried to explain it to me once and it was one of those whoosh moments.
I catch glimpses that indicate EF has most of the features in NH, but I wouldn't want to learn another ORM in depth -- there's just no value in it.