Skip to content
Docs Try Aspire
Docs Try

withDataBindMount

Method
📦 CommunityToolkit.Aspire.Hosting.DbGate v13.4.0
interface DbGateContainerResource {
// ... omitted for brevity
withDataBindMount(
source: string,
isReadOnly?: boolean): DbGateContainerResource;
}

Signature

method withDataBindMount builder
Adds a bind mount for the data folder to a DbGate container resource.
withDataBindMount(
source: string,
isReadOnly?: boolean): DbGateContainerResource
source string
isReadOnly boolean optional = False
DbGateContainerResource

Applies to

This method applies to the following types: