Object Context of ADO.Net Entity Framework
2011-06-15 17:20
399 查看
To retrieve data from the database, the ObjectContext class is needed. This class defi nes the mapping fromthe entity objects to the database.
The ObjectContext class provides several services to the caller:
1.It keeps track of entity objects that are already retrieved. If the object is queried again, it is taken from the object context.
2.It keeps state information about the entities. You can get information about added, modified, anddeleted objects.
3.You can update the entities from the object context to write the changes to the underlying store.
The ObjectContext class provides several services to the caller:
1.It keeps track of entity objects that are already retrieved. If the object is queried again, it is taken from the object context.
2.It keeps state information about the entities. You can get information about added, modified, anddeleted objects.
3.You can update the entities from the object context to write the changes to the underlying store.
相关文章推荐
- ADO.NET Entity Framework(3)ObjectContext
- ADO.NET Entity Framework之ObjectContext
- 利用T4 模板分离 ado.net entity framework 中Entity(实体层)和 ObjectContext(数据访问层)
- ADO.NET Entity Framework(3)ObjectContext
- [新手入门]快速学习 ADO.NET Entity Framework系列文章 #4 -- 数据新增、删除、修改(ObkectContext的 .SaveChange()方法)
- ADO.NET Entity Framework(4)ObjectQuery
- Entity Framework ObjectContext IUnitOfWork
- ADO.NET Entity Framework学习笔记(4)ObjectQuery对象
- ADO.NET Entity Framework: The version of SQL Server in use does not support datatype 'datetime2'
- ADO.NET Entity Framework之ObjectQuery对象
- ADO.NET Entity Framework 深入分析, Part 4 (提供示例程序下载)
- ADO.NET Entity Framework 学习初级篇6--EntityClient
- 让ADO.NET Entity Framework支持Oracle数据库
- 转:ADO.Net Entity Framework : (七) 多條件查詢
- Asp.Net Ajax+WCF Service+ADO.NET Entity Framework实现数据列表,数据筛选,分页,排序,删除
- ADO.NET Entity Framework 试水——概念
- ADO.NET Entity Framework 试水——映射
- ADO.NET Entity Framework Extensions 简单应用
- ADO.Net Entity Framework传递,以及EntityKey、EntityState
- ADO.NET Entity Framework 试水——语言