IPersist Objects, Rowset Update Semantics, and ITransaction

OLE DB Programmer's Reference

IPersist* objects provide yet another layer between the object and the data in the data store. Data stored in an IPersist* object is not exposed to its underlying storage object—and hence, to other transactions—until it is persisted by using IPersist*. After the data is persisted, the storage object to which it was persisted controls when it is available to the rowset and to other transactions. For more information, see "Storage Objects and Rowset Update Semantics" and "Storage Objects and Transactions," earlier in this chapter.

The methods on ITransaction can indirectly affect IPersist* objects. For example, committing or aborting a transaction might send into a zombie state the storage object associated with the IPersist* object. For more information, see "Storage Objects and Transactions," earlier in this chapter.

1998-2001 Microsoft Corporation. All rights reserved.



Microsoft Ole Db 2.0 Programmer's Reference and Data Access SDK
Microsoft OLE DB 2.0 Programmers Reference and Data Access SDK (Microsoft Professional Editions)
ISBN: 0735605904
EAN: 2147483647
Year: 1998
Pages: 1083

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net