开发者

ASP.Net EntityDataSource vs. EF4 Code First

开发者 https://www.devze.com 2023-03-17 03:41 出处:网络
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

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 databindi开发者_开发百科ng support?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消