|IDataAccessAdapterDeleteEntity Method (IEntity2, IPredicateExpression)|
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to
Will use the current transaction if a transaction is in progress.
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 184.108.40.206 (5.3.0)
Function DeleteEntity (
entityToDelete As IEntity2,
deleteRestriction As IPredicateExpression
) As Boolean
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity instance to delete from the persistent storage
- Type: SD.LLBLGen.Pro.ORMSupportClassesIPredicateExpression
Predicate expression, meant for concurrency checks in a delete query
true if the delete was succesful, otherwise false.