Registers the specified entity as a pending delete.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
Parameters
- entity
- Type: Mindscape.LightSpeed..::.Entity
The entity.
Examples
CopyC#
Customer customer = unitOfWork.FindById<Customer>(301);
unitOfWork.Remove(customer);
unitOfWork.SaveChanges();