EntityService.Delete Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Delete(IEntity, bool)

Permanently delete a thrashed entity.

public static IEntity Delete(IEntity entity, bool sudo = false)

Parameters

entity
IEntity

The entity to delete.

sudo
bool

true to perform action as super user, otherwise false.

Returns