BassUtils.Oracle
4.6.3
See the version list below for details.
dotnet add package BassUtils.Oracle --version 4.6.3
NuGet\Install-Package BassUtils.Oracle -Version 4.6.3
<PackageReference Include="BassUtils.Oracle" Version="4.6.3" />
paket add BassUtils.Oracle --version 4.6.3
#r "nuget: BassUtils.Oracle, 4.6.3"
// Install BassUtils.Oracle as a Cake Addin #addin nuget:?package=BassUtils.Oracle&version=4.6.3 // Install BassUtils.Oracle as a Cake Tool #tool nuget:?package=BassUtils.Oracle&version=4.6.3
BassUtils.Oracle
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 theOracleUdt.GetValue
andOracleUdt.SetValue
methods.WrappedTransaction
: bundles a transaction and its connection together to make them easier to dispose correctly.OracleParameterExtensions
: extension methods to get theValue
property as anOracleDataReader
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.3]
Fixed
- In
GetStringLengths
, handle null strings by returning 0.
[4.6.2]
Changed
- Improved the description of the NuGet package.
[4.6.1]
Fixed
- The
AddAssociativeArray
family of functions must actually callToArray
on their values or ODP.Net will give an error (e.g. if you pass it a LINQ enumerable).
[4.6.0]
Added
- Added the
WrappedTransaction
class, which bundles anOracleTransaction
together with its correspondingOracleConnection
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 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 was computed. 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. |
-
net6.0
- Dawn.Guard (>= 1.12.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- Oracle.ManagedDataAccess.Core (>= 3.21.41)
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.7.0 | 3,032 | 1/19/2023 |
4.6.3 | 1,029 | 10/13/2022 |
4.6.2 | 1,010 | 9/8/2022 |
4.6.1 | 907 | 9/8/2022 |
4.6.0 | 2,392 | 1/31/2022 |
4.5.0 | 927 | 1/11/2022 |
4.4.2 | 804 | 1/1/2022 |
4.4.1 | 780 | 12/28/2021 |
4.2.4-alpha-g3e4abfb12d | 705 | 12/17/2021 |
4.2.2-alpha-g73bc890b96 | 663 | 12/16/2021 |
4.2.1-alpha-gd2c57a210b | 659 | 12/16/2021 |
2022-10-13 Bug fix to properly handle null strings when using array binding.
2022-09-08 Bug fix to AssociativeArray fns.
2022-01-28 Added WrappedTransaction.
2021-12-28 Initial version.