Created
January 16, 2014 04:07
-
-
Save nmackenzie/8449628 to your computer and use it in GitHub Desktop.
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
CloudStorageAccount storageAccount = new CloudStorageAccount( | |
new StorageCredentials(accountName, accountKey), true); | |
CloudTableClient tableClient = storageAccount.CreateCloudTableClient(); | |
CloudTable bookTable = tableClient.GetTableReference("book"); | |
var query = from book in bookTable.CreateQuery<BookEntity>() | |
where book.PartitionKey == "hardback" | |
select book; | |
foreach (BookEntity entity in query) { | |
String name = entity.Name; | |
String author = entity.Author; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment