# DacDeployOptionsAnnotation Methods

- Package: [CommunityToolkit.Aspire.Hosting.SqlDatabaseProjects](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects.md)
- Type: [DacDeployOptionsAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md)
- Kind: `Methods`
- Members: `8`

Represents a metadata annotation that specifies dacpac deployment options.

## <Clone>$

- Name: `<Clone>$`
- Modifiers: `virtual`
- Returns: [DacDeployOptionsAnnotation](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md)

```csharp
public record DacDeployOptionsAnnotation
{
    public virtual DacDeployOptionsAnnotation <Clone>$()
    {
        // ...
    }
}
```

## Deconstruct(string)

- Name: `Deconstruct(string)`

```csharp
public record DacDeployOptionsAnnotation
{
    public void Deconstruct(
        out string OptionsPath)
    {
        // ...
    }
}
```

## Parameters

- `OptionsPath` (`string`)

## Equals(object?)

- Name: `Equals(object?)`
- Modifiers: `override`
- Returns: `bool`

Determines whether the specified object is equal to the current object.

```csharp
public record DacDeployOptionsAnnotation
{
    public override bool Equals(
        object? obj)
    {
        // ...
    }
}
```

## Parameters

- `obj` (`object?`)
  The object to compare with the current object.

## Returns

`bool` -- `true` if the specified object is equal to the current object; otherwise, `false`.

## Equals(DacDeployOptionsAnnotation?)

- Name: `Equals(DacDeployOptionsAnnotation?)`
- Modifiers: `virtual`
- Returns: `bool`

Indicates whether the current object is equal to another object of the same type.

```csharp
public record DacDeployOptionsAnnotation
{
    public virtual bool Equals(
        DacDeployOptionsAnnotation? other)
    {
        // ...
    }
}
```

## Parameters

- `other` ([DacDeployOptionsAnnotation?](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md))
  An object to compare with this object.

## Returns

`bool` -- `true` if the current object is equal to the `other` parameter; otherwise, `false`.

## GetHashCode

- Name: `GetHashCode`
- Modifiers: `override`
- Returns: `int`

Serves as the default hash function.

```csharp
public record DacDeployOptionsAnnotation
{
    public override int GetHashCode()
    {
        // ...
    }
}
```

## Returns

`int` -- A hash code for the current object.

## op_Equality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)

- Name: `op_Equality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)`
- Modifiers: `static`
- Returns: `bool`

```csharp
public record DacDeployOptionsAnnotation
{
    public static bool operator ==(
        DacDeployOptionsAnnotation? left,
        DacDeployOptionsAnnotation? right)
    {
        // ...
    }
}
```

## Parameters

- `left` ([DacDeployOptionsAnnotation?](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md))
- `right` ([DacDeployOptionsAnnotation?](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md))

## op_Inequality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)

- Name: `op_Inequality(DacDeployOptionsAnnotation?, DacDeployOptionsAnnotation?)`
- Modifiers: `static`
- Returns: `bool`

```csharp
public record DacDeployOptionsAnnotation
{
    public static bool operator !=(
        DacDeployOptionsAnnotation? left,
        DacDeployOptionsAnnotation? right)
    {
        // ...
    }
}
```

## Parameters

- `left` ([DacDeployOptionsAnnotation?](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md))
- `right` ([DacDeployOptionsAnnotation?](/reference/api/csharp/communitytoolkit.aspire.hosting.sqldatabaseprojects/dacdeployoptionsannotation.md))

## ToString

- Name: `ToString`
- Modifiers: `override`
- Returns: `string`

Returns a string that represents the current object.

```csharp
public record DacDeployOptionsAnnotation
{
    public override string ToString()
    {
        // ...
    }
}
```

## Returns

`string` -- A string that represents the current object.
