---
title: SAIF.Framework.Connection configuration settings
summary: Configuration keys consumed by this library, retrieval methods, and runtime dependencies.
status: draft
owner: <owner>
last_reviewed: 2026-07-24
library: SAIF.Framework.Connection
reference_type: package
---

# SAIF.Framework.Connection configuration settings

SAIF.Framework.Connection does not use `IEnvironmentService`, `ConfigurationManager.AppSettings`, `DbConnectionManager`, or `<connectionStrings>` entries. Its configuration surface consists of one typed `ApplicationSettingsBase` web-service endpoint setting (`SAIF_Framework_Connection_ConnectInfo_ConnectInfo`) plus Oracle provider registrations in `app.config`; Oracle and SQL Server connection strings themselves are resolved at runtime from the remote `ConnectInfo` SOAP service.

## Configuration retrieval methods

| Method | Class / Interface | Namespace | Usage pattern |
| --- | --- | --- | --- |
| `ApplicationSettingsBase` | `My.MySettings` | `SAIF.Framework.Connection.My` | The generated `ConnectInfo` proxy reads `SAIF_Framework_Connection_ConnectInfo_ConnectInfo` as its design-time default SOAP endpoint. |
| Generated SOAP service configuration | `ConnectInfo.ConnectInfo` | `SAIF.Framework.Connection.ConnectInfo` | `clsConnection` delegates Oracle and SQL Server connection-string resolution to `GetOracleConnectString(...)` and `GetSQLConnectString(...)` on the configured `ConnectInfo` endpoint. |
| Config-file provider registration | `Oracle.ManagedDataAccess.Client` | `Oracle.ManagedDataAccess.Client` | `app.config` registers the ODP.NET section handler and provider factory required by the Oracle connection path. |

## Environment API settings

Settings retrieved via `IEnvironmentService` (centralized environment configuration service).

None detected.

## AppSettings (Web.config)

Settings retrieved via `ConfigurationManager.AppSettings`.

None detected. The library does not call `ConfigurationManager.AppSettings`, and `SAIF.Framework.Connection\app.config` does not declare any `<appSettings>` keys.

## Database connection configuration

Connection strings and database provider settings consumed by this library.

| Connection name | Provider | Retrieval method | Purpose | Source |
| --- | --- | --- | --- | --- |
| Oracle connection | Oracle Managed Data Access | `ConnectInfo.GetOracleConnectString(...)` | Populates caller-supplied `OracleConnection` instances with a resolved Oracle connection string. | `SAIF.Framework.Connection\clsConnection.vb`; `SAIF.Framework.Connection\Web References\ConnectInfo\Reference.vb` |
| SQL Server connection | `System.Data.SqlClient` | `ConnectInfo.GetSQLConnectString(...)` | Populates caller-supplied `SqlConnection` instances with a resolved SQL Server connection string. | `SAIF.Framework.Connection\clsConnection.vb`; `SAIF.Framework.Connection\Web References\ConnectInfo\Reference.vb` |

## Secure settings

Settings that require decryption or credential retrieval.

None detected.

## Transitive configuration (from dependencies)

Settings required at runtime by referenced libraries or packages, not directly consumed by this library's code.

None detected.

## Configuration dependencies

| Dependency | Type | Required at | Impact if missing |
| --- | --- | --- | --- |
| `SAIF_Framework_Connection_ConnectInfo_ConnectInfo` | `applicationSettings` entry | runtime | The generated `ConnectInfo` proxy falls back to this URL when instantiated; if it points to the wrong environment, both Oracle and SQL Server connection-string resolution target the wrong service. |
| `oracle.manageddataaccess.client` | config section registration | startup | Oracle managed-driver configuration cannot be loaded if the ODP.NET section registration is removed from `app.config`. |
| `Oracle.ManagedDataAccess.Client` provider factory | `DbProviderFactories` registration | startup | Callers that rely on the managed ODP.NET provider registration may fail to resolve the Oracle provider. |

## Related documentation
- [Library index](index.md)
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Dependencies](dependencies.md)
- [Operations and processes](operations-processes.md)
- [Business rules](business-rules.md)
- [API reference](api/index.md)

<!-- Omit configuration.md — that is this page. -->

## Sources
- `SAIF.Framework.Connection\clsConnection.vb`
- `SAIF.Framework.Connection\app.config`
- `SAIF.Framework.Connection\My Project\Settings.Designer.vb`
- `SAIF.Framework.Connection\Web References\ConnectInfo\Reference.vb`
- `SAIF.Framework.Connection\SAIF.BOF.Framework.Connection.vbproj`
