public void Delete(TEntity e) { if (WorkOnTheMap == true) { BringInstruction(); } DEntity d = new DEntity(); Envoy envoy = new Envoy(); if (!(_categoryProperty is null)) { d.CategorizeName = CategoryProperty; } d.Name = SetName; d.Root = SetRoot; d.TargetLocation = ExternalLocation; d = envoy.Before(e, d); envoy.DataDelete(e, d); }