Skip to content
Docs Try Aspire

SurrealDbNamespaceResource Properties

Class Properties 4 members
A resource that represents a SurrealDB namespace that is a child of a SurrealDB container resource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the SurrealDB database.
public ReferenceExpression ConnectionStringExpression { get; }
Databases Section titled Databases IReadOnlyDictionary<string, string>
A dictionary where the key is the resource name and the value is the database name.
public IReadOnlyDictionary<string, string> Databases { get; }
NamespaceName Section titled NamespaceName string
Gets the namespace name.
public string NamespaceName { get; }
Gets the parent SurrealDB container resource.
public SurrealDbServerResource Parent { get; }