Beispiel #1
0
        private static void TestTableService()
        {
            TableStorageHelper tableHelper = new TableStorageHelper();

            tableHelper.GetCloudTableClient();

            tableHelper.CreateTable("sampleTable");

            TableServiceContext tableContext = tableHelper.GetTableContext();

            AddData(tableContext, "sampleTable");

            CloudTableQuery <Object> tableQuery = tableHelper.GetEntities(tableContext, "sampleTable");
        }
Beispiel #2
0
        private static void TestTableService()
        {
            TableStorageHelper tableHelper = new TableStorageHelper();

            tableHelper.GetCloudTableClient();

            tableHelper.CreateTable("sampleTable");

            TableServiceContext tableContext = tableHelper.GetTableContext();

            AddData(tableContext, "sampleTable");

            CloudTableQuery<Object> tableQuery = tableHelper.GetEntities(tableContext, "sampleTable");
        }