IUnitOfWorkCoreAddForDelete Method |
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.6.0.0 (5.6.19.0117)
Syntax void AddForDelete(
IEntityCore toDelete
)
Sub AddForDelete (
toDelete As IEntityCore
)
Parameters
- toDelete
- Type: SD.LLBLGen.Pro.ORMSupportClassesIEntityCore
The entity to delete via this unit of work
Return Value
Type:
true if the entity is accepted, false if the entity is rejected (entity is new)
See Also