Brian Mains
Brian Mains

Reputation: 50728

ADO.NET EF 4 vs. DataSets (of any kind)

I've been reading updates on Data Sets vs. Other ORM's like ADO.NET Entity Framework, but a lot of them refer to the older version, so with EF 4 as an option today, what is people's opinion for data sets vs. EF 4, which is better, worse?

I like EF 4 because:

What is your opinion?

Thanks.

Upvotes: 1

Views: 351

Answers (2)

SteveM
SteveM

Reputation: 492

I agree that I would pick EF4 over Datasets.

I like that they added the LazyLoading (DeferredLoadingEnabled) in EF4. I use the feature in Linq to SQL and would have went with the first EF if it was there. But it is available now.

Using EF, things like RIA Services work really well for getting data into a Silverlight app. I had to do more proxying of data manually before with datasets.

Upvotes: 2

AlvinfromDiaspar
AlvinfromDiaspar

Reputation: 6814

EF over Datasets any day, every day.

  1. It's easy to generate.
  2. The data models are auto-generated for you.

Upvotes: 2

Related Questions