【发布时间】:2012-11-21 21:13:02
【问题描述】:
我正在寻找一些关于如何使用 Azure SDK 在 Azure 表存储中存储和检索数据的示例或文档。
我使用 C# 和 .NET 4.5 框架。
我在这里找到了https://www.windowsazure.com/en-us/develop/net/how-to-guides/table-services/ 文档。
部分:
// Create the CloudTable object that represents the "people" table.
CloudTable table = tableClient.GetTableReference("people");
// Create a new customer entity.
CustomerEntity customer1 = new CustomerEntity("Harp", "Walter");
customer1.Email = "Walter@contoso.com";
customer1.PhoneNumber = "425-555-0101";
// Create the TableOperation that inserts the customer entity.
TableOperation insertOperation = TableOperation.Insert(customer1);
// Execute the insert operation.
table.Execute(insertOperation);
不再可用。
有人知道如何使用 .NET 4.5 做到这一点吗?
最好的问候
【问题讨论】:
标签: c# azure azure-storage azure-table-storage