SurrealDbDatabaseResource
Class net10.0
A resource that represents a SurrealDB database that is a child of a SurrealDB namespace resource.
namespace Aspire.Hosting.ApplicationModel;
public class SurrealDbDatabaseResource : 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.SurrealDbNamespaceResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<SurrealDbNamespaceResource>IValueProviderIValueWithReferences
Constructors1
Section titled ConstructorsSurrealDbDatabaseResource(string, string, SurrealDbNamespaceResource) Initializes a new instance of the
SurrealDbDatabaseResource class. Properties3
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the SurrealDB database.
DatabaseNamegetstring Gets the database name.
Parentget Gets the parent SurrealDB namespace resource.