takeSnapshot

open fun takeSnapshot()

See takeSnapshot(Boolean).


open fun takeSnapshot(canDefer: Boolean)

Remember a snapshot of the values of structural/dynamic properties of this entity in {@link com.sap.cloud.mobile.kotlin.odata.EntityValue#oldEntity EntityValue.oldEntity}. Snapshots are used to detect which properties have changed when an update is to be issued.

See Also:

{@link com.sap.cloud.mobile.kotlin.odata.DataType#isMutable DataType.isMutable}.

Parameters

canDefer

Can the snapshot be deferred? This can improve query performance if queried entities are not subsequently updated. Defaults to false. Should only be true if all selected properties are immutable.