public static void GetItemByQuery(AmazonSimpleDB simpleDBClient) { SelectResponse response = simpleDBClient.Select(new SelectRequest() { SelectExpression = "Select * from " + TableName }); String res = TableName + " has: "; Console.Out.WriteLine(res); foreach (Item item in response.SelectResult.Item) { res = item.Name + ": "; foreach (Amazon.SimpleDB.Model.Attribute attribute in item.Attribute) { res += "{" + attribute.Name + ", " + attribute.Value + "}, "; } res = res.Remove(res.Length - 2); Console.Out.WriteLine(res); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)