Click or drag to resize

ModelUtilsDeleteObjectsOfType Method

Deletes all objects of a specific type within a specific folder.

Namespace:  PDTec.IceNet.Sdk.Utils
Assembly:  PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax
C#
public static void DeleteObjectsOfType(
	IRepository pRepository,
	IFolder pFolder,
	IObjType pObjType,
	bool recurseSubtypes
)

Parameters

pRepository
Type: PDTec.IceNet.Core.ModelIRepository
The repository.
pFolder
Type: PDTec.IceNet.Core.ModelIFolder
The folder.
pObjType
Type: PDTec.IceNet.Core.ModelIObjType
The object type.
recurseSubtypes
Type: SystemBoolean
Specifies if objects of subtypes should be deleted, too.
Remarks
This method only deletes the database records of the objects and their attached relationships. Additional logic (e.g. Business Objects events) are not executed. Therefore, the caller is responsible for executing the necessary cleanup/consistency actions.
See Also