CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects v13.4.0 6 Functions
1 Types
1 types and 3 members
Types
Functions
method
addSqlProject builder Adds a SQL Server Database Project resource to the application.
addSqlProject(name: string): SqlProjectResource method
withConnectionReference builder Publishes the SQL Server database project to a connection string resource.
withConnectionReference(target: IResourceWithConnectionString): SqlProjectResource method
withDacDeployOptions builder Sets the publish profile path used for DAC deployment options.
withDacDeployOptions(optionsPath: string): SqlProjectResource method
withDacpac builder Specifies the path to the .dacpac file.
withDacpac(dacpacPath: string): SqlProjectResource method
withReference builder Publishes the SQL Server database project to a SQL Server database resource.
withReference(target: SqlServerDatabaseResource): SqlProjectResource method
withSkipWhenDeployed builder Specifies that .dacpac deployment should be skipped if metadata in the target database indicates that the .dacpac has already been deployed in its current state.
withSkipWhenDeployed(): SqlProjectResource