Поделиться через


DBPROP_DELAYSTORAGEOBJECTS

Property group: Rowset

Property set: DBPROPSET_ROWSET

Column? N

Type: VT_BOOL

Typical R/W: R/W

Description: Delay Storage Object Updates

In delayed update mode, if the value of this property is VARIANT_TRUE, storage objects are also used in delayed update mode. In particular:

Changes to the object are not transmitted to the data source object until IRowsetUpdate::Update is called.

  • IRowsetUpdate::Undo undoes any pending changes.

  • IRowsetUpdate::GetOriginalData retrieves the original value of the object ? that is, the object's value when the row was last fetched or updated and excluding any changes made since then.

In delayed update mode, if the value of this property is VARIANT_FALSE, storage objects are used in immediate update mode. In particular:

  • Changes to the object are immediately transmitted to the data source object.

  • IRowsetUpdate::Update has no effect on the object.

  • IRowsetUpdate::Undo does not undo changes made to the object since the row was last fetched or updated.

  • IRowsetUpdate::GetOriginalData retrieves the current value of the object, including changes made since the row was last fetched or updated.

In immediate update mode, this property has no effect on storage objects.

See Also

Reference

Properties (Alphabetical)