Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

RavenDBDatabaseResource

Handle
📦 CommunityToolkit.Aspire.Hosting.RavenDB v13.6.1

A resource that represents a RavenDB database. This is a child resource of a RavenDBServerResource.

type RavenDBDatabaseResource interface {
ExpressionValue
Resource
ResourceWithConnectionString
ResourceWithParent
}

Properties

propertyConnectionStringExpression*ReferenceExpressionget
Gets the connection string expression for the RavenDB database, derived from the parent server's connection string.
ConnectionStringExpression() *ReferenceExpression
propertyDatabaseNamestringget
Gets the name of the database.
DatabaseName() (string, error)
propertyParentRavenDBServerResourceget
Gets the parent RavenDB server resource associated with this database.
Parent() RavenDBServerResource