Example #1
0
 public void Delete(string partitionKey, IEnumerable <string> rowKeys)
 {
     _provider.Delete <T>(_tableName, partitionKey, rowKeys);
 }
Example #2
0
        public void DeleteOnMissingTableShouldWork()
        {
            var missingTableName = "t" + Guid.NewGuid().ToString("N");

            TableStorage.Delete <string>(missingTableName, "my-part", new[] { "my-key" });
        }
 /// <summary>Deletes a collection of entities.</summary>
 /// <remarks>
 /// <para>
 /// The implementation is expected to lazily iterate through all row keys
 /// and send batch deletion request to the underlying storage.</para>
 /// <para>Idempotence of the method is required.</para>
 /// <para>The method should not fail if the table does not exist.</para>
 /// <para>The call is expected to fail if one or several entities have
 /// changed remotely in the meantime. Use the overloaded method with the additional
 /// force parameter to change this behavior if needed.
 /// </para>
 /// </remarks>
 public static void Delete <T>(this ITableStorageProvider provider, string tableName, IEnumerable <CloudEntity <T> > entities)
 {
     provider.Delete(tableName, entities, false);
 }