Skip to content
DocsTry Aspire
DocsTry

SurrealDbDatabaseResource Constructors

ClassConstructors1 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)
{
// ...
}
}
namestringThe name of the resource.
databaseNamestringThe database name.
parentSurrealDbNamespaceResourceThe parent SurrealDB namespace resource.