|EntityBaseDelete Method (IPredicate)|
Deletes the Entity from the persistent storage. This method succeeds also when the Entity is not present.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 220.127.116.11 (5.3.0)
public virtual bool Delete(
Public Overridable Function Delete (
deleteRestriction As IPredicate
) As Boolean
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicate
Predicate expression, meant for concurrency checks in a delete query. Overrules the predicate returned
by a set ConcurrencyPredicateFactory object.
true if Delete succeeded, false otherwise
|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