EntityAspect.Detach Method
EntityAspectDetach Method Breeze.sharp
Removes the entity from the EntityManager cache.

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public bool Detach()

Return Value

Type: Boolean
Remarks

The Entity will be in a "detached" state after the remove. RemoveFromManager and RemoveEntity(Entity) can be used interchangeably. Calling RemoveFromManager also clears the EntityManager's [!:Breeze.Sharp.EntityManager.QueryCache].

This does not delete the object from the backend server. To delete an entity, use the Delete method.

See Also

Reference