SurrealDbNamespaceResource
Class net10.0
A resource that represents a SurrealDB namespace that is a child of a SurrealDB container resource.
namespace Aspire.Hosting.ApplicationModel;
public class SurrealDbNamespaceResource : Aspire.Hosting.ApplicationModel.Resource, Aspire.Hosting.ApplicationModel.IManifestExpressionProvider, Aspire.Hosting.ApplicationModel.IResource, Aspire.Hosting.ApplicationModel.IResourceWithConnectionString, Aspire.Hosting.ApplicationModel.IResourceWithParent, Aspire.Hosting.ApplicationModel.IResourceWithParent<Aspire.Hosting.ApplicationModel.SurrealDbServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<SurrealDbServerResource>IValueProviderIValueWithReferences
5 members
Constructors1
Section titled ConstructorsSurrealDbNamespaceResource(string, string, SurrealDbServerResource) Initializes a new instance of the
SurrealDbNamespaceResource class. Properties4
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the SurrealDB database.
DatabasesgetIReadOnlyDictionary<string, string> A dictionary where the key is the resource name and the value is the database name.
NamespaceNamegetstring Gets the namespace name.
Parentget Gets the parent SurrealDB container resource.