06-02 Reload Objects and Collections(重新加载对象和集合)
A Session loads objects from a data store and saves them in the Identity Map. XPO uses the Identity Map to ensure that each object is associated with only one record in the data store. There cannot be two different objects (objects with different ids) associated with the same record in the data store.
会话从数据存储中加载对象并将它们保存在身份映射中。XPO使用身份映射来确保每个对象仅与数据存储中的一条记录相关联。数据存储中不能有两个不同的对象(具有不同id的对象)与同一条记录相关联。
Object reload means synchronization of object properties with data fields in the corresponding record in the data store. If the value of a field in a data record differs from the value of the corresponding object property, then