ModelUtilsDeleteAllObjectsOfType Method |
Deletes all objects of a specific type.
Namespace:
PDTec.IceNet.Sdk.Utils
Assembly:
PDTec.IceNet.Sdk (in PDTec.IceNet.Sdk.dll) Version: 7.2.0.0 (7.2.7583.15464)
Syntax public static void DeleteAllObjectsOfType(
IRepository pRepository,
IObjType pObjType,
bool recurseSubtypes
)
Parameters
- pRepository
- Type: PDTec.IceNet.Core.ModelIRepository
The repository. - 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