# FdoIDelete Class Reference

`#include <IDelete.h>`

Inheritance diagram for FdoIDelete:

[legend]

List of all members.

## Detailed Description

The FdoIDelete interface defines the Delete command, which deletes instances of a given class that match the specified criteria. Input to the delete command includes the name of the class, and filter criteria by which to identify the instances to be deleted. The filter may be specified either as text or as an expression tree (most likely produced by a query builder). The delete command can delete instances at global scope or instances/values nested within an object collection property. Instances at global scope are referred to simply by the class name. Instances at a nested scope (i.e. instances within a object collection property) are referred to by the containing class name, followed by a '.', followed by the object collection property name.

Definition at line 42 of file IDelete.h.

## Public Member Functions
virtual FDO_API FdoInt32 | Execute ()=0
| Executes the delete command and returns the number of instances deleted.
virtual FDO_API FdoILockConflictReader * | GetLockConflicts ()=0
| Deleting objects might result in lock conflicts if objects to be deleted are not exclusively locked for the user attempting to delete the object. A lock conflict report is generated. The function GetLockConflicts returns a lock conflict reader that provides access to the list of lock conflicts that occurred during the execution of the delete operation.
## Friends
class | FdoIConnection

The documentation for this class was generated from the following file:

- IDelete.h