Inheritance: Orient.Client.Protocol.Operations.BaseOperation
Beispiel #1
0
        public void DropDatabase(string databaseName)
        {
            DbDrop operation = new DbDrop();
            operation.DatabaseName = databaseName;

            ODocument document = _connection.ExecuteOperation<DbDrop>(operation);
        }
        public void DropDatabase(string databaseName, OStorageType storageType)
        {
            DbDrop operation = new DbDrop(null);
            operation.DatabaseName = databaseName;
            operation.StorageType = storageType;

            ODocument document = _connection.ExecuteOperation(operation);
        }