# DacpacSkipWhenDeployedAnnotation

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects.md)
- Version: `13.1.1`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/67afcca30f02c18687f9c5219313710af9706630/src/CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects/DacpacSkipWhenDeployedAnnotation.cs)
- Implements: `IResourceAnnotation`

Represents a metadata annotation that specifies that .dacpac deployment should be skipped if metadata in the target database indicates that the .dacpac has already been deployed in it's current state.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class DacpacSkipWhenDeployedAnnotation
    : Aspire.Hosting.ApplicationModel.IResourceAnnotation
{
    // ...
}
```

## Constructors

- [DacpacSkipWhenDeployedAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacpacskipwhendeployedannotation/constructors.md#constructor)
