AbstractInfoProviderTInfo, TProvider, TQueryBulkDelete Method |
Namespace: CMS.DataEngine
public void BulkDelete( IWhereCondition where, BulkDeleteSettings settings = null )
Exception | Condition |
---|---|
InvalidOperationException | Thrown when ObjectType cannot be deleted by current provider. |
Note that the delete process of individual object types within dependencies does not run within transaction. If it fails, some data may be cleared and not rolled back. If you require transaction, wrap the call of this method to CMSTransactionScope.
Method is not executing any customizations for remove dependencies routine (custom code in RemoveObjectDependencies(Boolean, Boolean) or 'removedependencies' query). All customizations must be called prior this method or handled within BulkDelete event.