PersistentObjectStorage<T>.ShouldUpdateAfterInsert Property

Gets or sets whether the appointment storage should perform the UPDATE query after INSERT.

Namespace: DevExpress.XtraScheduler

Assembly: DevExpress.XtraScheduler.v20.1.Core.dll

Declaration

[Browsable(false)]
[DefaultValue(false)]
public virtual bool ShouldUpdateAfterInsert { get; set; }
<Browsable(False)>
<DefaultValue(False)>
Public Overridable Property ShouldUpdateAfterInsert As Boolean

Property Value

Type Default Description
Boolean

false

True, to update inserted appointment using data from the data source; otherwise, false.

Remarks

If the ShouldUpdateAfterInsert is true, the appointment storage updates a recently inserted appointment using data from the data source.

IMPORTANT

This option can result in unexpected behavior if a data source does not raise change notifications when items are changed, added or deleted. An example of such a data source is the System.Collections.Generic.List<T> of custom objects. To avoid this scenario, the default value of ShouldUpdateAfterInsert property is false.

See Also