Skip to content
Docs Try Aspire

SurrealDbDatabaseResource Constructors

Class Constructors 1 member
A resource that represents a SurrealDB database that is a child of a SurrealDB namespace resource.
Constructor(string, string, SurrealDbNamespaceResource) Section titled Constructor(string, string, SurrealDbNamespaceResource)
Initializes a new instance of the SurrealDbDatabaseResource class.
public class SurrealDbDatabaseResource
{
public SurrealDbDatabaseResource(
string name,
string databaseName,
SurrealDbNamespaceResource parent)
{
// ...
}
}
name string The name of the resource.
databaseName string The database name.
parent SurrealDbNamespaceResource The parent SurrealDB namespace resource.