Anarchy.Toolkit.Infrastructure.Persistence.Oracle 1.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Anarchy.Toolkit.Infrastructure.Persistence.Oracle --version 1.1.2
                    
NuGet\Install-Package Anarchy.Toolkit.Infrastructure.Persistence.Oracle -Version 1.1.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" Version="1.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" Version="1.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Anarchy.Toolkit.Infrastructure.Persistence.Oracle" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Anarchy.Toolkit.Infrastructure.Persistence.Oracle --version 1.1.2
                    
#r "nuget: Anarchy.Toolkit.Infrastructure.Persistence.Oracle, 1.1.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Anarchy.Toolkit.Infrastructure.Persistence.Oracle@1.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Oracle&version=1.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Anarchy.Toolkit.Infrastructure.Persistence.Oracle&version=1.1.2
                    
Install as a Cake Tool

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 ModuleOracle with connection and resilience options factories; AddOracleHealthReports() or ModuleOracleHealthReport adds reader and writer checks.
  • OracleConnectionOptions.DbName is the service name; the default port is 1521. The connection pool applies command timeout and session time zone settings.
  • Oracle SQL must use :Name binds 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

  1. Register an Observer, then use ModuleOracle with factories that build OracleConnectionOptions and OracleResilienceOptions from your host configuration. The module guide shows the equivalent factory pattern for PostgreSQL.
  2. Configure reader and writer hosts, credentials, Oracle service name, time zone and command timeout; set MaximumPoolSize if the default of 100 is unsuitable. A null port selects 1521.
  3. Implement concrete repositories using the Oracle bases and Oracle-compatible SQL. Use the reader and writer keyed policies as appropriate; the unkeyed policy uses the writer.
  4. Add Oracle health reports when the host exposes service health, and exercise the real adapter with Testing.Oracle against a dedicated test schema.

See the Oracle and persistence notes and toolkit overview.

Releases

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.