IDataAccessAdapterDeleteEntity Method (IEntity2) |
Deletes the specified entity from the persistent storage. The entity is not usable after this call, the state is set to
OutOfSync.
Will use the current transaction if a transaction is in progress.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.1.0.0 (5.1.0)
Syntax bool DeleteEntity(
IEntity2 entityToDelete
)
Function DeleteEntity (
entityToDelete As IEntity2
) As Boolean
Parameters
- entityToDelete
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity2
The entity instance to delete from the persistent storage
Return Value
Type:
Booleantrue if the delete was succesful, otherwise false.
See Also