Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Entity Framework 3.5 or 4.0?

I'm starting a new project and the client wants to use the Entity Framework for their business layer. They are currently using .NET Framework 3.5. Would it be worth it to upgrade to 4.0 for the Entity Framework? What are the significant changes between the two versions?

like image 386
Dismissile Avatar asked Nov 18 '10 14:11

Dismissile


1 Answers

Entity 4.0 supports POCO (Plain Old CLR Objects), which is a big plus if you do model-first (as opposed to database-first) development such as Domain Driven Design.

Here is an article that compares Entity 1.0 to 4.0. Regarding 4.0, it states (and discuses) the following new features:

  1. Persistence Ignorance
  2. POCO (Plain Old CLR Object)
  3. T4 Code Generation
  4. Self-Tracking Entities
  5. Model-First Development
  6. FK Associations
  7. Code-only
like image 98
Matt Avatar answered Sep 21 '22 19:09

Matt