コード例 #1
0
        public static void Initialize(TestContext context)
        {
            var account             = CloudConfiguration.GetStorageAccount("DataConnectionString");
            var surveyAnswerStorage = new EntitiesBlobContainer <SurveyAnswer>(account, SurveyAnswersContainer);

            surveyAnswerStorage.EnsureExistsAsync().Wait();
        }
コード例 #2
0
        public static void Initialize(TestContext context)
        {
            account = CloudStorageAccount.Parse("UseDevelopmentStorage=true");
            var surveyAnswerStorage = new EntitiesBlobContainer <SurveyAnswer>(account, SurveyAnswersContainer);

            surveyAnswerStorage.EnsureExistsAsync().Wait();
        }