示例#1
0
        static LabelRepository()
        {
            CloudTableClient tableClient = CloudTableHelper.GetTableClient();

            tableClient.CreateTableIfNotExist <CategoryEntity>(LabelCategoryTable);
            tableClient.CreateTableIfNotExist <LabelEntity>(LabelTable);
        }
示例#2
0
        static PageProvider()
        {
            CloudTableClient tableClient = CloudTableHelper.GetTableClient();

            tableClient.CreateTableIfNotExist <PageEntity>(PageTable);

            tableClient.CreateTableIfNotExist <PageEntity>(PageDraftTable);
        }
示例#3
0
        static HtmlBlockProvider()
        {
            CloudTableClient tableClient = CloudTableHelper.GetTableClient();

            tableClient.CreateTableIfNotExist <HtmlBlockEntity>(HtmlBlockTable);
        }
示例#4
0
        static UserProvider()
        {
            CloudTableClient tableClient = CloudTableHelper.GetTableClient();

            tableClient.CreateTableIfNotExist <SiteUserEntity>(SiteUsersTable);
        }