SqlProjectResource.WithDacpac

Method
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects v13.6.1
type SqlProjectResource interface {
// ... omitted for brevity
WithDacpac(dacpacPath string) SqlProjectResource
}

Signature

methodWithDacpacbuilder
Specifies the path to the .dacpac file.
WithDacpac(dacpacPath string) SqlProjectResource
dacpacPathstringPath to the .dacpac file.
SqlProjectResource

An IResourceBuilder that can be used to further customize the resource.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: