klyn.data.EntityManager.detach
method
public detach<T>(entity as T) as Void
Description

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.

Parameters
ParameterDescription
<T>Entity type.
entityEntity to detach.
Example
manager.detach(user)