Skip to content
DocsTry Aspire
DocsTry

DbGateContainerResource.withDataBindMount

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

Signature

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

Defined on

This method is defined on the following type: