# ClickHouseDatabaseResource Properties

- Package: [Aspire.Hosting.ClickHouse](/reference/api/csharp/aspire.hosting.clickhouse.md)
- Type: [ClickHouseDatabaseResource](/reference/api/csharp/aspire.hosting.clickhouse/clickhousedatabaseresource.md)
- Kind: `Properties`
- Members: `3`

Represents an abstract resource that can be used by an application, that implements `ApplicationModel.IResource`.

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`

Describes the connection string format string used for this resource.

```csharp
public ReferenceExpression ConnectionStringExpression { get; }
```

## DatabaseName

- Name: `DatabaseName`
- Modifiers: `get`
- Returns: `string`

```csharp
public string DatabaseName { get; }
```

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [ClickHouseServerResource](/reference/api/csharp/aspire.hosting.clickhouse/clickhouseserverresource.md)

Gets the parent resource of type `T`.

```csharp
public ClickHouseServerResource Parent { get; }
```
