CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects
📦 CommunityToolkit.Aspire.Hosting.SqlDatabaseProjectsv13.4.06Functions
1Types
1 types and 3 members
Types
Functions
method
addSqlProjectbuilderAdds a SQL Server Database Project resource to the application.
addSqlProject(name: string): SqlProjectResourcemethod
withConnectionReferencebuilderPublishes the SQL Server database project to a connection string resource.
withConnectionReference(target: IResourceWithConnectionString): SqlProjectResourcemethod
withDacDeployOptionsbuilderSets the publish profile path used for DAC deployment options.
withDacDeployOptions(optionsPath: string): SqlProjectResourcemethod
withDacpacbuilderSpecifies the path to the .dacpac file.
withDacpac(dacpacPath: string): SqlProjectResourcemethod
withReferencebuilderPublishes the SQL Server database project to a SQL Server database resource.
withReference(target: SqlServerDatabaseResource): SqlProjectResourcemethod
withSkipWhenDeployedbuilderSpecifies 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