frosty

Entity Framework v2 - First impressions

Rate this Entry
I'm new to Entity Framwork. V1 wasn't appealing at all to me. Presently I use Linq To Sql as it provides for most of what I need. Mostly databases I work with are created in SQL. I use an ORM that allows me to create strongly typed data objects to reference in code.

This helps increase efficiency for me tremendously. Also it helps cut out mistakes trying to write T-SQL strings. The most important reason for me is being able to build dynamic predicates on the fly with little effort.

I use PredicateBuilder a lot and the first version of EF, there didn't appear to be a way to use dynamic predicates. The UI wasn't that great so I didn't feel it was ready for use.

EF v2, taking it a look at it, the it seems to be a lot more useable.

I can now build dynamic predicates with it using PredicateBuilder.

The designer now allows you to add tables and refresh which is nice.

There is a POCO generator so you can create more efficient data objects when using EF in scenarios such as WCF where you don't need all the features EF offers.

I'm still evaluating EF but I may be inclined to switch over going forward. Also, the new Code First ability in the latest CTP's look promising.
Categories
.Net 4.0 , ‎ ORM , ‎ Entity Framework

Comments