Chapter 5: Updating Data in Rowsets

OLE DB Programmer's Reference

Consumers can change row data either through commands, such as the UPDATE, DELETE, and INSERT commands in SQL, or through rowsets. This chapter discusses how consumers, by calling methods in IRowsetChange, change row data through rowsets. Two update modes are presented: immediate and deferred. The visibility of changes is discussed, both as it relates to the state of the row and as it relates to other changes affecting the row. Inserting rows in the desired position, resynchronizing rows, and refreshing row values are also discussed.

For more information on Go to
Consumers "Conceptual Programming Models in OLE DB" in Chapter 1: Overview of OLE DB
Commands Chapter 3: Commands
Rowsets Chapter 4: Rowsets
Changing data by calling SetData, DeleteRows, and InsertRow in IRowsetChange "Changing Data" in this chapter
Immediate vs. deferred update mode "Immediate vs. Deferred Update Mode" in this chapter
The state of the row in deferred update mode "Row States in Deferred Update Mode" in this chapter
Visibility of changes "Visibility of Changes" in this chapter
Other changes affecting the row "Visibility of Other Changes" in this chapter
Inserting rows in the desired position "Position of Inserted Rows" in this chapter
Refreshing row values "Refreshing Row Data" 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