Voyager.DBConnection.Oracle
4.5.0
dotnet add package Voyager.DBConnection.Oracle --version 4.5.0
NuGet\Install-Package Voyager.DBConnection.Oracle -Version 4.5.0
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="Voyager.DBConnection.Oracle" Version="4.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Voyager.DBConnection.Oracle" Version="4.5.0" />
<PackageReference Include="Voyager.DBConnection.Oracle" />
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 Voyager.DBConnection.Oracle --version 4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Voyager.DBConnection.Oracle, 4.5.0"
#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 Voyager.DBConnection.Oracle@4.5.0
#: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=Voyager.DBConnection.Oracle&version=4.5.0
#tool nuget:?package=Voyager.DBConnection.Oracle&version=4.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Voyager.DBConnection.Oracle
Oracle-specific database connection library built on top of Voyager.DBConnection.
Features
- OracleDbCommandExecutor: Pre-configured executor for Oracle databases
- OracleErrorMapper: Maps Oracle error codes to typed
Errorresults - Built-in Oracle.ManagedDataAccess.Core support
Installation
dotnet add package Voyager.DBConnection.Oracle
Quick Start
using Voyager.DBConnection.Oracle;
var connectionString = "Data Source=...;User Id=...;Password=...";
var executor = new OracleDbCommandExecutor(connectionString);
// Execute queries with automatic error mapping
var result = executor.ExecuteScalar(
db => db.GetSqlCommand("SELECT COUNT(*) FROM users")
);
Oracle Error Mapping
The OracleErrorMapper automatically maps Oracle-specific errors:
- ORA-00001: Unique constraint violation →
ErrorType.Database - ORA-02049: Timeout/Distributed transaction timeout →
ErrorType.Timeout - ORA-00060: Deadlock detected →
ErrorType.Unavailable - Foreign key violations →
ErrorType.Database
See Also
- Voyager.DBConnection - Base library
- Oracle Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net6.0
- Oracle.ManagedDataAccess.Core (>= 23.26.100)
- Voyager.DBConnection (>= 4.5.0)
-
net8.0
- Oracle.ManagedDataAccess.Core (>= 23.26.100)
- Voyager.DBConnection (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.5.0 | 79 | 1/27/2026 |
| 4.5.0-preview.3.2 | 44 | 1/27/2026 |
| 4.5.0-preview.3 | 38 | 1/27/2026 |
| 4.5.0-preview.2 | 44 | 1/13/2026 |
| 4.5.0-preview.1 | 43 | 1/13/2026 |
| 4.4.6-preview.1 | 42 | 1/12/2026 |
| 4.4.5-preview.3 | 44 | 1/12/2026 |
| 4.4.5-preview.2 | 50 | 1/8/2026 |
| 4.4.5-preview.1 | 50 | 1/8/2026 |
| 4.4.4-preview.12 | 49 | 1/2/2026 |
| 4.4.4-preview.11 | 50 | 1/2/2026 |
| 4.4.4-preview.10 | 49 | 1/2/2026 |
| 4.4.4-preview.9 | 134 | 12/24/2025 |
| 4.4.4-preview.8 | 129 | 12/24/2025 |
| 4.4.4-preview.7 | 130 | 12/23/2025 |