.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.IsObjectToDelete(Object) Method

Indicates whether the specified object is deleted in the transaction currently in progress.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.1.dll

Declaration

public bool IsObjectToDelete(
    object theObject
)
Public Function IsObjectToDelete(
    theObject As Object
) As Boolean

Parameters

Name Type Description
theObject Object

The persistent object to test.

Returns

Type Description
Boolean

true if the specified object is deleted in the transaction currently in progress; otherwise, false.

Remarks

To get a collection of persistent objects that are deleted in the transaction currently in progress, use the Session.GetObjectsToDelete method.

For general information on deleting persistent objects, see Deleting Persistent Objects.

See Also