public void Delete <TEntity>(HiveId id) where TEntity : AbstractSchemaPart
 {
     ChildSessions.Delete <TEntity>(id);
 }
示例#2
0
 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);
 }
示例#3
0
 public void Delete <TEntity>(HiveId id) where TEntity : TypedEntity
 {
     ChildSessions.Delete(id);
 }