public void Delete() { var chain = new TransactionChain(); MetadataSet.Delete(ref chain); MapManager.ExecuteTransaction(chain); }