# OracleDatabaseResource Properties

- Package: [Aspire.Hosting.Oracle](/reference/api/csharp/aspire.hosting.oracle.md)
- Type: [OracleDatabaseResource](/reference/api/csharp/aspire.hosting.oracle/oracledatabaseresource.md)
- Kind: `Properties`
- Members: `5`

A resource that represents an Oracle Database database. This is a child resource of a [OracleDatabaseServerResource](/reference/api/csharp/aspire.hosting.oracle/oracledatabaseserverresource.md).

## ConnectionStringExpression

- Name: `ConnectionStringExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Oracle/OracleDatabaseResource.cs#L31)

Gets the connection string expression for the Oracle Database.

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

## DatabaseName

- Name: `DatabaseName`
- Modifiers: `get`
- Returns: `string`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Oracle/OracleDatabaseResource.cs#L53)

Gets the database name.

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

## JdbcConnectionString

- Name: `JdbcConnectionString`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Oracle/OracleDatabaseResource.cs#L48)

Gets the JDBC connection string for the Oracle Database.

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

## Remarks

Format: `jdbc:oracle:thin:@//{host}:{port}/{database}`.

User and password credentials are not included in the JDBC connection string. Use the `IResourceWithConnectionString.GetConnectionProperties` method to access the `Username` and `Password` properties.

## Parent

- Name: `Parent`
- Modifiers: `get`
- Returns: [OracleDatabaseServerResource](/reference/api/csharp/aspire.hosting.oracle/oracledatabaseserverresource.md)
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Oracle/OracleDatabaseResource.cs#L25)

Gets the parent Oracle container resource.

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

## UriExpression

- Name: `UriExpression`
- Modifiers: `get`
- Returns: `ReferenceExpression`
- Source: [GitHub](https://github.com/microsoft/aspire/blob/cbc352350f1a9bafbaff10d14a2c8de4ac186a48/src/Aspire.Hosting.Oracle/OracleDatabaseResource.cs#L39)

Gets the connection URI expression for the Oracle database.

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

## Remarks

Format: `oracle://{user}:{password}@{host}:{port}/{database}`.
