论文部分内容阅读
二、缓存数据访问 若要在更新期间保护数据,则可使用缓存。缓存可以自动测试、封锁和释放记录或表。 通过缓存,可以很容易地监测和解决数据更新操作中的冲突。将当前记录拷贝到由Visual FoxPro管理的内存或磁盘位置,同时,其他用户仍然可以访问原始数据。当从记录上移开或试图通过编程来更新记录时,Visual FoxPro即试图封锁记录,先验明没有别的用户做其他改变,然后写入编辑。当试图更新数据之后,还必须阻止编辑写到源表的冲突。
Second, the cache data access To protect the data during the update, you can use the cache. Caching can automatically test, block and release records or tables. Caching makes it easy to monitor and resolve conflicts in data update operations. Copy the current record to a memory or disk location managed by Visual FoxPro, while other users still have access to the raw data. When removing a record or attempting to update a record programmatically, Visual FoxPro attempts to block the record, making sure no other user makes any other changes, and then writing to the editor. After attempting to update the data, you must also prevent edits to conflicts written to the source table.