Exemplo n.º 1
0
 internal void DeleteShardedVertex(string vertexName)
 {
     _vertexTableManager.DeleteShardedVertex(vertexName);
     foreach (var entry in ShardedVertexTable.GetEntriesForVertex(_shardedVertexTable, vertexName))
     {
         TableOperation deleteOperation = TableOperation.Delete(entry);
         _shardedVertexTable.ExecuteAsync(deleteOperation).Wait();
     }
 }
Exemplo n.º 2
0
        public async Task DeleteShardedVertexAsync(string vertexName)
        {
            await _vertexTableManager.DeleteShardedVertex(vertexName, "");

            foreach (var entry in await _shardedVertexInfoProvider.GetEntriesForVertex(vertexName))
            {
                await _shardedVertexInfoProvider.Delete(entry);
            }
        }