# DbGateContainerResource

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.DbGate](/reference/api/csharp/communitytoolkit.aspire.hosting.dbgate.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting.ApplicationModel`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.DbGate/DbGateContainerResource.cs)
- Inherits: `ContainerResource`

Represents a container resource for DbGate.

## Definition

```csharp
namespace Aspire.Hosting.ApplicationModel;

public sealed class DbGateContainerResource
    : Aspire.Hosting.ApplicationModel.ContainerResource
{
    // ...
}
```

## ATS metadata

### ATS export

- Type ID: `CommunityToolkit.Aspire.Hosting.DbGate/DbGateContainerResource`

## Constructors

- [DbGateContainerResource(string)](/reference/api/csharp/communitytoolkit.aspire.hosting.dbgate/dbgatecontainerresource/constructors.md#constructor-string) -- Represents a container resource for DbGate.

## Properties

- [PrimaryEndpoint](/reference/api/csharp/communitytoolkit.aspire.hosting.dbgate/dbgatecontainerresource/properties.md#primaryendpoint) : `EndpointReference` `get` -- Gets the primary endpoint for the DbGate.
