Example #1
0
        private static void Create()
        {
            using (var dbContext = new DocumentDbContext())
            {
                dbContext.OpenDatabase(_databaseName);
                Console.WriteLine("Recreating db collection");
                dbContext.CreateCollection(_collectionName);
            }

            Console.WriteLine("Recreating blob storage");
            _blobStorage.GetBlobContainer(_containerName);
        }