BassUtils.Oracle
4.7.0
dotnet add package BassUtils.Oracle --version 4.7.0
NuGet\Install-Package BassUtils.Oracle -Version 4.7.0
<PackageReference Include="BassUtils.Oracle" Version="4.7.0" />
<PackageVersion Include="BassUtils.Oracle" Version="4.7.0" />
<PackageReference Include="BassUtils.Oracle" />
paket add BassUtils.Oracle --version 4.7.0
#r "nuget: BassUtils.Oracle, 4.7.0"
#:package BassUtils.Oracle@4.7.0
#addin nuget:?package=BassUtils.Oracle&version=4.7.0
#tool nuget:?package=BassUtils.Oracle&version=4.7.0
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.GetValueandOracleUdt.SetValuemethods.WrappedTransaction: bundles a transaction and its connection together to make them easier to dispose correctly.OracleParameterExtensions: extension methods to get theValueproperty as anOracleDataReaderor 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.7.0]
Added
- OracleDb simple abstract base class.
[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
AddAssociativeArrayfamily of functions must actually callToArrayon their values or ODP.Net will give an error (e.g. if you pass it a LINQ enumerable).
[4.6.0]
Added
- Added the
WrappedTransactionclass, which bundles anOracleTransactiontogether with its correspondingOracleConnectionand ensures they are properly disposed together.
Fixed
- Fixed the logging in
DbTransactionExtensionsso 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. 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. |
-
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,910 | 1/19/2023 |
| 4.6.3 | 1,210 | 10/13/2022 |
| 4.6.2 | 1,172 | 9/8/2022 |
| 4.6.1 | 1,066 | 9/8/2022 |
| 4.6.0 | 2,627 | 1/31/2022 |
| 4.5.0 | 1,100 | 1/11/2022 |
| 4.4.2 | 983 | 1/1/2022 |
| 4.4.1 | 956 | 12/28/2021 |
| 4.2.4-alpha-g3e4abfb12d | 894 | 12/17/2021 |
| 4.2.2-alpha-g73bc890b96 | 849 | 12/16/2021 |
| 4.2.1-alpha-gd2c57a210b | 843 | 12/16/2021 |
2023-01-19 New version 4.7.0. Add OracleDb base class.
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.