public detach<T>(entity as T) as Void:
Stops tracking one entity and its explicit CascadeType.DETACH graph.
Detaching an already detached instance is idempotent. No relationship wrapper is loaded solely to perform this operation.
| Parameter | Description |
|---|---|
<T> | Entity type. |
entity | Entity to detach. |
manager.detach(user)