cache_changes


Description:

[ NoAccessorMethod ]
[ Version ( since = "5.2" ) ]
public bool cache_changes { get; set; }

Defines how changes kept in the data proxy are handled when the proxied data model is changed (using the "model" property).

The default is to silently discard all the changes, but if this property is set to true, then the changes are cached.

If set to true, each cached change will be re-applied to a newly set proxied data model if the change's number of columns match the proxied data model's number of columns and based on:

  • the contents of the proxied data model's modified row for updates and deletes
  • the inserts are always kept



2022 vala-language.org