HAKOM.Persistence.Sql.Oracle.Net Assembly
Provides the Oracle-specific SQL persistence implementation for HAKOM applications, supplying concrete connection, command, parameter, and data reader types backed by Oracle Managed Data Access (ODP.NET).
Remarks
Section titled “Remarks”This assembly contains the OracleStorageProvider which derives from
SqlStorageProvider<TConnection,TCommand,TNativeParameter,TReader,TParameter,TParameterFactory>
and wires up OracleConnection, OracleCommand, OracleParameter,
and OracleDataReader as the concrete ADO.NET types.
Key Oracle-specific behaviors include:
- Bind-by-name parameter binding (rather than positional).
- Boolean values stored as
CHAR(1)(‘0’/‘1’) orNUMBERcolumns. - Configurable
SqlNetAllowedLogonVersionClientfor connecting to older databases. - An Oracle-dialect
DBVERSIONquery usingDECODEinstead ofCASE.
Register Oracle services via the extension method in ContainerExtensions:
using HAKOM.Persistence.Sql.Oracle.Net.Api.Extensions;
container.UseOracle();| Namespaces | |
|---|---|
| HAKOM.Persistence.Sql.Oracle.Net.Api | Contains the public API surface of the Oracle SQL persistence module, including Oracle-specific parameter, parameter factory, and storage provider interfaces. |
| HAKOM.Persistence.Sql.Oracle.Net.Api.Exceptions | Contains exception types specific to the Oracle SQL persistence provider. |
| HAKOM.Persistence.Sql.Oracle.Net.Api.Extensions | Extension methods for registering Oracle persistence services with the IContainer. |
Was this page helpful?Thanks for your feedback!