Skip to content
Docs Try Aspire

OracleDatabaseResource Properties

Class Properties 5 members
A resource that represents an Oracle Database database. This is a child resource of a OracleDatabaseServerResource.
ConnectionStringExpression Section titled ConnectionStringExpression ReferenceExpression
Gets the connection string expression for the Oracle Database.
public ReferenceExpression ConnectionStringExpression { get; }
DatabaseName Section titled DatabaseName string
Gets the database name.
public string DatabaseName { get; }
JdbcConnectionString Section titled JdbcConnectionString ReferenceExpression
Gets the JDBC connection string for the Oracle Database.
public ReferenceExpression JdbcConnectionString { get; }

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.

Gets the parent Oracle container resource.
public OracleDatabaseServerResource Parent { get; }
UriExpression Section titled UriExpression ReferenceExpression
Gets the connection URI expression for the Oracle database.
public ReferenceExpression UriExpression { get; }
Format: oracle://{user}:{password}@{host}:{port}/{database}.