Click or drag to resize
UnitOfWorkAddForDelete Method (IEntity)
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.2.0.0 (5.2.17.0403)
Syntax
public bool AddForDelete(
	IEntity entityToDelete
)

Parameters

entityToDelete
Type: SD.LLBLGen.Pro.ORMSupportClassesIEntity
The entity to delete via this unit of work

Return Value

Type: Boolean
true if the entity is accepted, false if the entity is rejected (entity is new)
See Also