Deletes the Entity from the persistent storage. This method succeeds also when the Entity is not present.
Uses, if applicable, the ConcurrencyPredicateFactory to supply the predicate to limit delete activity.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax Public Function Delete As Boolean
Return Value
Type:
Booleantrue if Delete succeeded, false otherwise
Implements
IEntityDeleteExceptions Exception | Condition |
---|
ORMQueryExecutionException | When an exception is caught during the delete process. The caught exception is set as the
inner exception. Encapsulation of database-related exceptions is necessary since these exceptions do not have a common exception framework
implemented. |
See Also