Detaches the specified Entity from the current unit of work.
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 to detach.
Examples
CopyC#
Customer selectedForEditing = GetSelectedCustomerFromUI(); unitOfWork.Detach(selectedForEditing);