private void DeleteDatabase() { var adminConfiguration = new ConnectionConfiguration(new Uri("http://localhost:2480")); adminConfiguration.SetBasicAuthentication("root", "F3647CD476BD50D14892033CF160E748038BD62DDB7292690086B5F52151B7C0"); var adminOrientdbClient = new OrientdbClient(adminConfiguration); adminOrientdbClient.DeteteDatabase(_databaseName); adminOrientdbClient.Disconnect(); }
public void DeleteDatabaseTest() { var configuration = new ConnectionConfiguration(new Uri("http://localhost:2480")); configuration.SetBasicAuthentication("root", "F3647CD476BD50D14892033CF160E748038BD62DDB7292690086B5F52151B7C0"); var orientdbClient = new OrientdbClient(configuration); bool response = orientdbClient.DeteteDatabase(Guid.NewGuid().ToString()); Assert.IsTrue(response); }