public void Can_access_case_insensitive()
        {
            var builder = new DocumentDbConnectionStringBuilder
            {
                AccountEndpoint = new Uri("https://example.documents.azure.com:443/", UriKind.Absolute),
                AccountKey      = "MyAccountKey",
                Database        = "MyDatabase"
            };

            Assert.NotNull(builder["AccountKey"]);
            Assert.NotNull(builder["accountkey"]);
            Assert.NotNull(builder.AccountKey);

            builder.Build();
        }
Exemple #2
0
 public MigrationRunner(string connectionString, DocumentDbOptions options)
 {
     _options = options;
     _builder = new DocumentDbConnectionStringBuilder(connectionString);
     _client  = _builder.Build();
 }