Liam Dawson
Liam Dawson

Reputation: 1199

ASP.Net EntityDataSource vs. EF4 Code First

I'm attempting to create a web app that works with business data models, pretty much a simple CRUD setup. I'd like to leverage the inbuilt CRUD support in ASP.Net controls like the ListView, but the EntityDataSource doesn't support the Code First connection string.

Do I have to develop a custom DataSource to achieve this? How can I achieve this native databinding support?

Upvotes: 0

Views: 588

Answers (1)

Ladislav Mrnka
Ladislav Mrnka

Reputation: 364369

No you don't have to develop custom data source you just need ObjectDataSource and custom object executing your CRUD operations used by this data source.

Upvotes: 1

Related Questions