This interface defines the structure of objects that allows batch update.

Objects in Cartella general have real time database update, as properties being set. This makes Cartella API intuitive and easy to use. However, there are times when we don't want every property set to cause a database transaction. Here is where IBatchUpdatable coming. It allows batch of property updates to be grouped together and perform database transaction only once afterwards.

This is done by set "StopEventUpdate" property to true and stop all property changes from triggering events issued FieldCollections, which is the driving force of per-property updates.

Namespace: Cartella.Interfaces
Assembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)

Syntax

C#
public interface IBatchUpdatable
Visual Basic
Public Interface IBatchUpdatable
Visual C++
public interface class IBatchUpdatable

See Also