Entity Framework

Entity Framework. A Difficult Choice? 

ideablade dev force entity framework

Selecting an ORM framework is serious business. You need to think about much more than data access, mapping, and persistence. Performance, flexibility, ease of use, and extensibility all weigh heavily into the decision making process.

When it was released, back in 2008, selecting the Entity Framework wasn’t an easy choice for architects. Were they prepared to write and maintain their own ORM, take on the challenges of nHibernate, or put their faith in the new kid on the block?

That was then. This is now.

Today the Entity Framework has become the standard for database access in .NET applications. The issues that spawned 2008’s no-confidence arguments are now things of the past and the Entity Framework is now the obvious choice. If you’re still waiting for the Entity Framework to mature, wait no longer. It’s mature now.

Take a look at what Entity Framework has to offer:

devforce extend entity

Better performance.

Faster LINQ
LINQ queries are now automatically compiled and cached.

Optimized SQL generation
Generated SQL is improved and executes faster.

devforce extend entity

Large model support.

Code First
Code First lets developers build their entity model classes without struggling with EDMX, visual designer, or database changes that put the model at risk. Code First is a welcome addition for developers who prefer to focus on their model and classes rather than the database.

Designer improvements
Large models are no longer a problem for the Entity Framework. You can now create multiple diagrams for each entity data model and each diagram can contain entities and relationships to make visualizing the models easier. Using the Model Browser, you can switch between diagrams and include related entities on each diagram as an optional command.

devforce extend entity

Productivity enhancements.

Enumerations
The Enum data type is now supported and you can use Enums like any other scalar property … just like LINQ queries and updates.

Easier mapping to stored procedures
You can now batch import your stored procedures as function imports. The result shape of each stored procedure will automatically become a new complex type in your entity model. This makes getting started with stored procedures very easy.

DevForce builds on the strengths of the Entity Framework, and then extends them with n-tier architecture, powerful business objects, multiple data sources, non-relational data sources, and superior client application performance.