Created
April 17, 2015 00:33
-
-
Save gbellmann/b218e71854dcd77a498e to your computer and use it in GitHub Desktop.
Function to delete a record from Azure Table Storage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.WindowsAzure.Storage; | |
using Microsoft.WindowsAzure.Storage.Table; | |
public void DeleteOrder(CloudTable table, OrderEntity toDelete) | |
{ | |
TableOperation deleteOperation = TableOperation.Delete(toDelete); | |
table.Execute(deleteOperation); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment