| UnitOfWork2.AddForDelete Method (IEntity2) | 
 
            Adds the passed in entity for deletion. 
            
 
    Namespace: 
   SD.LLBLGen.Pro.ORMSupportClasses
    Assembly:
   SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.3.0.0 (5.3.0)
Syntaxpublic bool AddForDelete(
	IEntity2 entityToDelete
)
Public Function AddForDelete ( 
	entityToDelete As IEntity2
) As Boolean
Parameters
- entityToDelete
 - Type: SD.LLBLGen.Pro.ORMSupportClasses.IEntity2
The entity to delete via this unit of work 
Return Value
Type: 
Booleantrue if the entity is accepted, false if the entity is rejected (entity is new)
See Also