public void Delete <TEntity>(HiveId id) where TEntity : AbstractSchemaPart { ChildSessions.Delete <TEntity>(id); }
public void Delete <TEntity>(HiveId id) where TEntity : TypedEntity { FrameworkContext.TaskManager.ExecuteInCancellableTask(this, id, TaskTriggers.Hive.PreDelete, TaskTriggers.Hive.PostDelete, () => ChildSessions.Delete(id), x => new HiveEntityPreDeletionEventArgs(x, UnitScopedCache), x => new HiveEntityPostDeletionEventArgs(x, UnitScopedCache), FrameworkContext); }
public void Delete <TEntity>(HiveId id) where TEntity : TypedEntity { ChildSessions.Delete(id); }