SAIF.Framework.Connection overview¶
Documentation context: Framework Documented via: Referenced by the repository-wide
SAIF.BOF.Frameworknuspec glob (SAIF.Framework.Core\SAIF.BOF.Framework.Core.nuspec)
SAIF.Framework.Connection is a thin, single-purpose connection-string resolution helper. It exposes one public class, clsConnection, which populates the ConnectionString property of a caller-supplied OracleConnection or SqlConnection object, resolving the actual string either locally (Oracle-only override path) or via a remote ConnectInfo SOAP web service.
Purpose¶
- Resolve Oracle and SQL Server connection strings on behalf of calling business/application code, without performing any SQL execution or connection lifecycle management itself.
- Consumed by any business or application code in the repository that needs to obtain a populated
OracleConnectionorSqlConnectionobject before opening it.*
Responsibilities¶
- Populate the
ConnectionStringproperty of a caller-suppliedOracleConnectionvia the Oracle overload ofgetConnection. - Populate the
ConnectionStringproperty of a caller-suppliedSqlConnectionvia the SQL Server overload ofgetConnection. - Delegate connection-string resolution to the remote
ConnectInfoASMX/SOAP web service, except when explicit Oracle credentials are supplied at construction. - Apply Oracle-specific post-processing to web-service-resolved connection strings (stripping
Load Balance Timeout=900;and substituting theZSPECIALCHARtoken withChr(7)).*
Key components¶
clsConnection: the sole public entry point; owns constructor-based override state and bothgetConnectionoverloads.ConnectInfo.ConnectInfo(auto-generated SOAP client proxy): invoked internally to callGetOracleConnectStringandGetSQLConnectStringon the remote web service.ConnectInfo.ConnectRequestInfo(auto-generated DTO): carries the request composite (OSUserid,Code,Database,Server) passed to the SOAP proxy.
Related documentation¶
Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.
Sources¶
SAIF.Framework.Connection\clsConnection.vbSAIF.Framework.Connection\SAIF.BOF.Framework.Connection.vbprojSAIF.Framework.Core\SAIF.BOF.Framework.Core.nuspec