RavenDBDatabaseResource
Class net10.0
A resource that represents a RavenDB database. This is a child resource of a
RavenDBServerResource. namespace Aspire.Hosting.ApplicationModel;
public class RavenDBDatabaseResource : 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.RavenDBServerResource>, Aspire.Hosting.ApplicationModel.IValueProvider, Aspire.Hosting.ApplicationModel.IValueWithReferences{ // ...} ResourceIManifestExpressionProviderIResourceIResourceWithConnectionStringIResourceWithParentIResourceWithParent<RavenDBServerResource>IValueProviderIValueWithReferences
Constructors1
Section titled ConstructorsRavenDBDatabaseResource(string, string, RavenDBServerResource) A resource that represents a RavenDB database. This is a child resource of a
RavenDBServerResource. Properties3
Section titled PropertiesConnectionStringExpressiongetReferenceExpression Gets the connection string expression for the RavenDB database, derived from the parent server's connection string.
DatabaseNamegetstring Gets the name of the database.
Parentget Gets the parent RavenDB server resource associated with this database.