public void DeleteEntryToTable(string tableName, TableData customData) { CloudTable table = cloudTableClient.GetTableReference(tableName); table.CreateIfNotExists(); var deleteOperation = TableOperation.Delete(customData); table.Execute(deleteOperation); }
public void InsertData() { string tableName = "table1"; this.CreateTable(tableName); this.AddEntryToTable(tableName); this.DeleteTable(tableName); TableData data = new TableData("Kolkata", "Sumit"); data.Age = 20; this.AddEntryToTable(tableName, data); //Update data data.Age = 30; this.UpdateEntryToTable(tableName, data); this.ListTables(tableName); this.DeleteEntryToTable(tableName, data); this.DeleteTable(tableName); }