您的位置:首页 > 移动开发 > Objective-C

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.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: