Back to Devexpress

XPBaseCollection.DeleteObjectOnRemove Property

xpo-devexpress-dot-xpo-dot-xpbasecollection-f6391bd9.md

latest1.4 KB
Original Source

XPBaseCollection.DeleteObjectOnRemove Property

Gets or sets whether the persistent object is deleted from the data store when it is removed from the collection.

Namespace : DevExpress.Xpo

Assembly : DevExpress.Xpo.v25.2.dll

NuGet Package : DevExpress.Xpo

Declaration

csharp
[DefaultValue(false)]
public bool DeleteObjectOnRemove { get; set; }
vb
<DefaultValue(False)>
Public Property DeleteObjectOnRemove As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the persistent object is deleted from the data store when it is removed from the collection; otherwise, false.

|

See Also

Delete

CollectionChanged

BeforeRemove

XPBaseCollection Class

XPBaseCollection Members

DevExpress.Xpo Namespace