CollectionCoreTOnEntityRemoving Method |
Called at the start of a remove routine which removes an entity from this collection. Will raise EntityRemoving event.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.7.0.0 (5.7.0)
Syntax protected virtual bool OnEntityRemoving(
T entityToRemove
)
Protected Overridable Function OnEntityRemoving (
entityToRemove As T
) As Boolean
Parameters
- entityToRemove
- Type: T
The entity to remove.
Return Value
Type:
Booleantrue if the remove action can continue (e.g. the event wasn't canceled) otherwise false.
See Also