see on GitHub

Operations : Server : How to create a database?

This operation is used to create a new database on a server.

Syntax

public CreateDatabaseOperation(
    DatabaseRecord databaseRecord,
    int replicationFactor = 1)
{
}

Parameters
databaseRecord string TODO
replicationFactor bool TODO

Example

store.Maintenance.Server.Send(new CreateDatabaseOperation(new DatabaseRecord("MyNewDatabase")));
await store.Maintenance.Server.SendAsync(new CreateDatabaseOperation(new DatabaseRecord("MyNewDatabase")));