OracleBulkInsertExtension 0.0.2

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package OracleBulkInsertExtension --version 0.0.2
                    
NuGet\Install-Package OracleBulkInsertExtension -Version 0.0.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="OracleBulkInsertExtension" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OracleBulkInsertExtension" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="OracleBulkInsertExtension" />
                    
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 OracleBulkInsertExtension --version 0.0.2
                    
#r "nuget: OracleBulkInsertExtension, 0.0.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 OracleBulkInsertExtension@0.0.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=OracleBulkInsertExtension&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=OracleBulkInsertExtension&version=0.0.2
                    
Install as a Cake Tool

OracleBulkInsertExtension

High-performance bulk insert extension for Oracle using EF Core and ODP.NET.


Features

  • Fast bulk insert for EF Core.
  • Identity (ID) retrieval after insert.
  • Automatic child entity insertion.
  • Optional field encryption and audit.
  • Parallel child entity insertion.
  • Schema fallback support.

Installation

dotnet add package OracleBulkInsertExtension

-------------------------------------------------
using Microsoft.EntityFrameworkCore;
using OracleBulkInsertExtension;

var dbContext = new MyDbContext();
var entities = new List<MyEntity>
{
    new MyEntity { Name = "Item 1", Value = 10 },
    new MyEntity { Name = "Item 2", Value = 20 }
};

// Simple bulk insert
await dbContext.BulkInserOptimizedAsync(entities);

// With options
var options = new BulkInsertWithPrivateTempOptions
{
    EncryptFields = true,
    Encryptor = (obj, ctx) => obj,
    ApplyAudit = (obj, ctx) => { /* audit logic */ },
    DegreeOfParallelism = 4,
    SchemaFallback = "MY_SCHEMA"
};

await dbContext.BulkInserOptimizedAsync(entities, options);

----------------------------------------------------------------------

| Property            | Description                                  |
| ------------------- | -------------------------------------------- |
| EncryptFields       | Apply field encryption.                      |
| Encryptor           | Function to encrypt a single entity.         |
| ApplyAudit          | Function to apply audit to each entity.      |
| DegreeOfParallelism | Parallel tasks for child inserts. Default 4. |
| SchemaFallback      | Schema to use if EF Core schema is missing.  |


Notes:

Child entities are automatically linked to their parent ID.

Nullable types are handled with default values.


Version 0.0.2 Breaking Changes:

The old BulkInsertWithPrivateTemp method has been removed.

Use the new BulkInserOptimizedAsync method instead.
Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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.

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