Skip to main content
.NET 8.0+

XPBaseCollection.SelectDeleted Property

Gets or sets whether objects that are marked as deleted are retrieved by a collection from a data store.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

Declaration

[DefaultValue(false)]
public bool SelectDeleted { get; set; }

Property Value

Type Default Description
Boolean false

true if objects marked as deleted are loaded to the collection from a data store; otherwise, false.

Remarks

Changing this property’s value clears the contents of the current collection. The collection will then be reloaded from a data store automatically when an attempt is made to access the collection’s contents.

See Also