BassUtils.Oracle 4.6.0

.NET 6.0
Install-Package BassUtils.Oracle -Version 4.6.0
dotnet add package BassUtils.Oracle --version 4.6.0
<PackageReference Include="BassUtils.Oracle" Version="4.6.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BassUtils.Oracle --version 4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BassUtils.Oracle, 4.6.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install BassUtils.Oracle as a Cake Addin
#addin nuget:?package=BassUtils.Oracle&version=4.6.0

// Install BassUtils.Oracle as a Cake Tool
#tool nuget:?package=BassUtils.Oracle&version=4.6.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BassUtils.Oracle

NuGet Badge

Low-level utility functions to simplify working with Oracle via Oracle.ManagedDataAccess.Core. Available on NuGet

The GitHub repository includes a sample project called BassUtils.OracleExamples.

It shows how to use all the extension methods in this project, especially the OracleParameterCollectionExtensions. You can install Oracle via Docker if need be - see the SQL script for instructions.

Oracle's official documentation for ODP.Net

Also available: BassUtils and BassUtils.NetCore

Features

  • DbTransactionExtensions: wrapper methods to log success/failure methods when performing database transactions.
  • OracleConnectionExtensions: Easier to use overloads of the OracleUdt.GetValue and OracleUdt.SetValue methods.
  • WrappedTransaction: bundles a transaction and its connection together to make them easier to dispose correctly.
  • OracleParameterExtensions: extension methods to get the Value property as an OracleDataReader or as a list of strings or numbers.
  • OracleParameterCollectionExtensions: many extension methods to help with creating parameters and RETURN parameters for UDTs and tables of UDTs, Associative Arrays, and Array Binding, and Ref Cursors

Change History

[4.6.0]
Added
  • Added the WrappedTransaction class, which bundles an OracleTransaction together with its corresponding OracleConnection and ensures they are properly disposed together.
Fixed
  • Fixed the logging in DbTransactionExtensions so that it works properly with non-MS loggers (tested with Serilog).
[4.4.2]
Fixed
  • Trimmed the READMEs for the 3 BassUtils packages to be just relevant to them.
  • Added NuGet badges.
[4.4.0]
  • Library created.
Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

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.6.0 174 1/31/2022
4.5.0 63 1/11/2022
4.4.2 84 1/1/2022
4.4.1 70 12/28/2021
4.2.4-alpha-g3e4abfb12d 59 12/17/2021
4.2.2-alpha-g73bc890b96 58 12/16/2021
4.2.1-alpha-gd2c57a210b 74 12/16/2021

2022-01-28 Added WrappedTransaction.
2021-12-28 Initial version.