Session.PurgeDeletedObjects(IObjectLayer) Method
In This Article
Deletes the objects marked as deleted from a storage.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Xpo.v24.2.dll
#Declaration
public static PurgeResult PurgeDeletedObjects(
IObjectLayer objectLayer
)
#Parameters
Name | Type | Description |
---|---|---|
object |
IObject |
An object which implements the IObject |
#Returns
Type | Description |
---|---|
DevExpress. |
A Purge |
#Remarks
This method will delete the objects that are marked as deleted and if they are not referenced by other objects. To remove objects, the PurgeDeletedObjects method calls the objectLayer‘s IObjectLayer.Purge method implementation.
Note
We recommend that you do not use the Purge
See Also