8.17. Summary

I have to admit that I had heard nothing but bad things about EF before I starting writing this chapter, so I wasn't looking forward to it. However, after working with EF for some time, I really like it.

I am cautious, however, with recommending its use, since Microsoft can be fickle with its data access strategies. I would consider that a mature open source solution such as NHibernate probably has less chance of being dropped and has a large community to support it and offer advice. Thus, NHibernate could be a safer option from a future-proofing point of view. However, EF has some great features, good GUI support, and IDE integration and will be more than suitable for many projects.

In conclusion, although EF is not as feature-rich ...

Get Introducing .NET 4.0: with Visual Studio 2010 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.