Visibility of Changes

OLE DB Programmer's Reference

If a consumer makes a change to a row in a rowset, releases the row handle for that row, refetches the same row from the data store into the rowset, and calls IRowset::GetData on the row, does the consumer see the change it made? If so, the change is said to be visible to the rowset. If other rowsets also make changes to the same row, those changes may or may not be visible to the first rowset.

Whether a change to a row is visible, and to whom, depends on many factors, such as whether the change is pending or transmitted, whether it affects the row's position in the rowset, and whether it was made inside a transaction. It also depends on the values of various rowset properties.

The following sections discuss these properties and their effects on the visibility of changes of different types:

  • Visibility of Pending Changes
  • Visibility of Transmitted Changes
  • Position of Inserted Rows
  • Visibility of Other Changes
  • Refreshing Row Data

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