entity-framework - 在 Entity Framework 中使用 EntityDataSource 与 ObjectDataSource 的优缺点?

标签 entity-framework

在基于 Entity Framework asp.net 的应用程序中使用 EntityDataSource 与 ObjectDataSource 有何优缺点?

最佳答案

基本上EntityDataSource旨在支持 Entity Framework 实体的排序、过滤、插入、删除等功能...如果您使用 ObjectDataSource您必须自己完成此操作。

关于entity-framework - 在 Entity Framework 中使用 EntityDataSource 与 ObjectDataSource 的优缺点?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/555066/

相关文章:

c# - Entity Framework 迁移的空引用

asp.net - "Unable to load the specified metadata resource"

c# - Entity Framework ,比较复杂类型

entity-framework - Entity Framework 6 数据库优先和洋葱架构

entity-framework - 两个具有相同名称和选择类型的过程,但 EF 提示数据读取器不兼容

asp.net-mvc - 无法更新标识列 'Unique ID', Entity Framework 错误

c# - Entity Framework 选择查询

c# - 从 DbSet 获取 DbContext

c# - 在 EF Core 中设置属性约定?

c# - SQL Server 全文搜索 - 大型查询