IRowsetUpdate::GetPendingRows
Returns a list of rows with pending changes.
IRowsetUpdate::GetPendingRows increments the reference of each row handle it returns in *prgPendingRows. The consumer must call IRowset::ReleaseRows for these rows. If multiple changes are made to a single row, IRowsetUpdate::GetPendingRows returns the status as follows.
-
If IRowsetChange::SetData is called for a pending insert row, the row is still considered a pending insert row.
-
If IRowsetChange::DeleteRows is called for a pending update row, the row is considered a pending delete row.
-
If IRowsetChange::DeleteRows is called for a pending insert row, the row is considered a transmitted delete row; such rows are not returned by IRowsetUpdate::GetPendingRows.
-
If IRowsetRefresh::RefreshVisibleData is called for a pending insert row, the row is still considered a pending insert row.
For a complete description of pending change states, see Row States in Deferred Update Mode.