Ejemplo n.º 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");
        }
Ejemplo n.º 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");
        }