Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle
1.0.1
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle --version 1.0.1
NuGet\Install-Package Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle -Version 1.0.1
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle" Version="1.0.1" />
<PackageVersion Include="Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle" Version="1.0.1" />
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle" />
paket add Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle --version 1.0.1
#r "nuget: Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle, 1.0.1"
#:package Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle@1.0.1
#addin nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle&version=1.0.1
#tool nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle&version=1.0.1
Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle
Part of Anarchy I/O Toolkit, a .NET developer platform · Pillar: Infrastructure · Layer: Infrastructure · Package catalog
Oracle adapter for the toolkit's relational persistence layer, using ODP.NET.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle
OracleDbDialect, connection pools, unit of work, resilience policy and repository bases adapt the shared relational layer to Oracle.- Register
ModuleOraclewith connection and resilience options factories;AddOracleHealthReports()orModuleOracleHealthReportadds reader and writer checks. OracleConnectionOptions.DbNameis the service name; the default port is 1521. The connection pool applies command timeout and session time zone settings.- Oracle SQL must use
:Namebinds and must not end in a semicolon. Use Testing.Db.Oracle for test helpers.
When to use it
Use this adapter when relational persistence runs on Oracle and your application needs the shared toolkit repository and unit-of-work model. The adapter supplies the ODP.NET integration, not the application schema, migrations or concrete event-store SQL.
How to use it
- Register
AppTelemetry, then useModuleOraclewith factories that buildOracleConnectionOptionsandOracleResilienceOptionsfrom your host configuration. The module guide shows the equivalent factory pattern for PostgreSQL. - Configure reader and writer hosts, credentials, Oracle service name, time zone and command timeout; set
MaximumPoolSizeif the default of 100 is unsuitable. A null port selects 1521. - Implement concrete repositories using the Oracle bases and Oracle-compatible SQL. Use the
readerandwriterkeyed policies as appropriate; the unkeyed policy uses the writer. - Add Oracle health reports when the host exposes service health, and exercise the real adapter with
Testing.Db.Oracleagainst a dedicated test schema.
See the Oracle and persistence notes and toolkit overview.
Releases
See the release notes for the complete release history.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Anarchy.Toolkit.Core (>= 2.0.1)
- Anarchy.Toolkit.Core.Telemetry (>= 1.0.1)
- Anarchy.Toolkit.Infrastructure.Persistence.Db (>= 2.0.1)
- Dapper (= 2.1.79)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.15)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Diagnostics (>= 10.0.15)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.15)
- Microsoft.Extensions.Logging (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Newtonsoft.Json (>= 13.0.4)
- Oracle.ManagedDataAccess.Core (>= 23.26.401)
- Polly.Core (>= 8.9.1)
- System.Security.Cryptography.Pkcs (>= 10.0.15)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Anarchy.Toolkit.Infrastructure.Persistence.Db.Oracle:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Testing.Db.Oracle
Oracle integration-test fixtures: connection string, connection pool, retry/resilience policy and Unit of Work fixtures, options mapping, enum type handlers, and table reset helpers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
## Releases
### 1.0.1
- chore(build): Format package release notes property
### 1.0.0
- New package identity, renamed from `Anarchy.Toolkit.Infrastructure.Persistence.Oracle`; versions below are historical releases under that package ID.
- Preserve unit-of-work failures and use provider-neutral application telemetry.
### Historical releases under `Anarchy.Toolkit.Infrastructure.Persistence.Oracle`
### 1.2.1
- docs(packages): identify each package's pillar and layer
- build(packages): attribute the copyright to Leandro Melão Medeiros
- build: relicense under Apache-2.0 and update the package metadata
### 1.2.0
- build(deps): upgrade Swashbuckle.AspNetCore to 11.0.1 and Microsoft.OpenApi to 3.11.1
### 1.1.6
- docs: expand XML docblocks across all projects for the DocFX API reference
### 1.1.5
- `System.Security.Cryptography.Pkcs` aligned with the .NET 10 LTS (10.0.15, down from 11.0.0).
### 1.1.4
- refactor(src): clean up code style across library packages
### 1.1.2
- build: migrate local automation to build tooling
### 1.1.1
- docs: expand package guides and release histories
- chore(deps): update AWS, Polly, and xUnit packages
### 1.1.0
- Applied the configurable maximum pool size to Oracle connection strings.
### 1.0.1
- Added a package-specific NuGet README.
### 1.0.0
- Introduced the Oracle relational persistence provider, connection handling and provider-specific health reporting.