Skip to content
Docs Try Aspire
Docs Try

withDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.MySql.Extensions v13.4.0
interface MySqlServerResource {
// ... omitted for brevity
withDbGate(
configureContainer?: callback,
containerName?: string): MySqlServerResource;
}

Signature

method withDbGate builder
Adds an administration and development platform for MySql to the application model using DbGate.
withDbGate(configureContainer?: (obj: DbGateContainerResource) => Promise<void>, containerName?: string): MySqlServerResource
configureContainer (obj: DbGateContainerResource) => Promise<void> optional
containerName string optional
MySqlServerResource

Applies to

This method applies to the following types: