Anarchy.Toolkit.Infrastructure.Persistence.Oracle
1.1.3
See the version list below for details.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Oracle --version 1.1.3
NuGet\Install-Package Anarchy.Toolkit.Infrastructure.Persistence.Oracle -Version 1.1.3
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" Version="1.1.3" />
<PackageVersion Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" Version="1.1.3" />
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" />
paket add Anarchy.Toolkit.Infrastructure.Persistence.Oracle --version 1.1.3
#r "nuget: Anarchy.Toolkit.Infrastructure.Persistence.Oracle, 1.1.3"
#:package Anarchy.Toolkit.Infrastructure.Persistence.Oracle@1.1.3
#addin nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Oracle&version=1.1.3
#tool nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Oracle&version=1.1.3
Anarchy.Toolkit.Infrastructure.Persistence.Oracle
Oracle adapter for the toolkit's relational persistence layer, using ODP.NET.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.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.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 an
Observer, 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.Oracleagainst a dedicated test schema.
See the Oracle and persistence notes and toolkit overview.
Releases
1.1.3
- chore(docs): Update release notes
1.1.2
- build: migrate local automation to NUKE
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.
| 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 (>= 1.0.4)
- Anarchy.Toolkit.Infrastructure.Persistence.Db (>= 1.1.3)
- Dapper (= 2.1.79)
- Humanizer (>= 3.0.10)
- Microsoft.Extensions.Configuration.Abstractions (>= 10.0.14)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.14)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.14)
- Newtonsoft.Json (>= 13.0.4)
- Oracle.ManagedDataAccess.Core (>= 23.26.400)
- Polly.Core (>= 8.9.1)
- Serilog (>= 4.4.0)
- Serilog.Sinks.Console (>= 6.1.1)
- System.Security.Cryptography.Pkcs (>= 10.0.14)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Anarchy.Toolkit.Infrastructure.Persistence.Oracle:
| Package | Downloads |
|---|---|
|
Anarchy.Toolkit.Testing.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.
Initial release.