ADO.Net Entity Framework
I'm currently reading the documentation for ADO.Net Entities Framework. As always, I'm using this as a scratch pad for what I think as I read this.
Next-Generation Data Access - June 2006:
- They still allow access to lower level services with the Entity Framework. Lower level is apperantely IDbConnection and IDbCommand. They mention the 80% brick wall, which is encouraging. The problem is that I don't like this solution. The framework should be flexible enough that I could plug in at all the important points and replace the functionality with my custom one. Using two ways to acess the data has a big "Don't Do Unless You Know What You Are Doing And Have Fasted For Three Days" sign over it with red blnking lights.
- Chapter 3 is slightly interesting, 1,2,4,5 are extremely boring. Going over unrelated details (such as SQL Server ACID guarantees, merge replication, or order entry from 20 years ago). I understand the concept of a problem statement, but this is taking it to a new level.
- Chapter 6 is about what they are trying to achieve. Admirable goals.
- Chapter 7 shows the XML mapping. I'm not a fan of XML, and that XML is defiantely not something that you would want to write by hand.
- One nice feature that I noticed is the ability to map several tables into a single entity. This has some performance implications, because of joins
- I don't like that immediately show how to escape from the framework and go back to working with SQL and untyped data.
- They mention WCFClient which sounds interesting. I'm not sure how that will work, the models are very different.
- From the document, it seems like SQL Everywhere is going to ship with this, and be the local cache for the framework.
- The MapProvider looks like it is the equilent of the ADO.Net driver. You apperantly get one for each DB provider. It looks like it provide quite a bit more, though. Mapping, eSQL (Entities SQL), etc.
Okay, that was the high level overview, let start on the real details.
The ADO.NET Entity Framework Overview June 2006:
Overall, not really impressed. I guess I will have to wait until I have the real bits to play bit, but except from the Linq magic, I don't see anything really interesting. I do foresee quite a bit of confusion, though.