# CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects

- Module: `CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects`
- Version: `13.4.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire)
- Functions: `6`
- Types: `1`

## Types

- [SqlProjectResource](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/sqlprojectresource.md) -- `handle` - 8 members -- Represents a SQL Server Database project resource.

## Functions

- [addSqlProject](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/addsqlproject.md) -- `method` -- Adds a SQL Server Database Project resource to the application.
- [withConnectionReference](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/withconnectionreference.md) -- `method` -- Publishes the SQL Server database project to a connection string resource.
- [withDacDeployOptions](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/withdacdeployoptions.md) -- `method` -- Sets the publish profile path used for DAC deployment options.
- [withDacpac](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/withdacpac.md) -- `method` -- Specifies the path to the .dacpac file.
- [withReference](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/withreference.md) -- `method` -- Publishes the SQL Server database project to a SQL Server database resource.
- [withSkipWhenDeployed](/reference/api/typescript/communitytoolkit.aspire.hosting.sqldatabaseprojects/withskipwhendeployed.md) -- `method` -- 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.
