MDAC 2.5 SDK - OLE DB Programmer's Reference
Chapter 5: Updating Data in Rowsets


 

Chapter 5: Updating Data in Rowsets

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 "Consumers and Providers" 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