Franz.Common.EntityFramework.Oracle
2.3.1
dotnet add package Franz.Common.EntityFramework.Oracle --version 2.3.1
NuGet\Install-Package Franz.Common.EntityFramework.Oracle -Version 2.3.1
<PackageReference Include="Franz.Common.EntityFramework.Oracle" Version="2.3.1" />
<PackageVersion Include="Franz.Common.EntityFramework.Oracle" Version="2.3.1" />
<PackageReference Include="Franz.Common.EntityFramework.Oracle" />
paket add Franz.Common.EntityFramework.Oracle --version 2.3.1
#r "nuget: Franz.Common.EntityFramework.Oracle, 2.3.1"
#:package Franz.Common.EntityFramework.Oracle@2.3.1
#addin nuget:?package=Franz.Common.EntityFramework.Oracle&version=2.3.1
#tool nuget:?package=Franz.Common.EntityFramework.Oracle&version=2.3.1
Franz.Common.EntityFramework.Oracle
Persistence and infrastructure integration for the Franz.Common framework on .NET 10.
Overview
The Franz.Common.EntityFramework.Oracle package provides persistence and infrastructure integration within Franz.Common. It is designed to compose with the rest of the framework rather than imposing unrelated infrastructure choices on every application.
Installation
dotnet add package Franz.Common.EntityFramework.Oracle
Design principles
- Explicit composition: register only the capabilities the application needs.
- Clear boundaries: keep domain and application contracts independent from provider-specific infrastructure where the package's role permits it.
- Predictable behavior: make configuration, failure modes, and lifecycle ownership visible rather than relying on hidden conventions.
- Operational readiness: validate security, resilience, diagnostics, and compatibility for the actual deployment environment.
Usage and configuration
Follow the package-specific setup, configuration, and code examples below. Only configure external services when this package requires them, and keep secrets outside source control.
Package-specific guide
A specialized library within the Franz Framework that extends Entity Framework Core support for Oracle Database using the Oracle.EntityFrameworkCore provider. This package simplifies the configuration and integration of Oracle databases in .NET applications, supporting both single-tenant and multi-tenant environments.
Features
- Oracle Database Integration:
- Leverages
Oracle.EntityFrameworkCorefor Oracle database support.
- Leverages
- Service Registration:
ServiceCollectionExtensionsto streamline dependency injection for Oracle database contexts.
- Multi-Tenancy Support:
- Integrates with
Franz.Common.MultiTenancyfor multi-tenant Oracle database configurations.
- Integrates with
- Compatibility:
- Fully integrates with Franz.Common.EntityFramework for shared utilities and repository patterns.
Version Information
Current Version: v2.3.0
- Part of the private Franz Framework ecosystem.
Dependencies
This package relies on:
- Oracle.EntityFrameworkCore (10.23.26200): Official EF Core provider for Oracle databases.
- Franz.Common.EntityFramework: Core EF utilities and patterns.
- Franz.Common.MultiTenancy: Multi-tenancy support for database operations.
Installation
From Private Azure Feed
Since this package is hosted privately, configure your NuGet client:
dotnet nuget add source "https://your-private-feed-url" \
--name "AzurePrivateFeed" \
--username "YourAzureUsername" \
--password "YourAzurePassword" \
--store-password-in-clear-text
Install the package:
dotnet add package Franz.Common.EntityFramework.Oracle
Usage
1. Configuring Oracle Context
Define a DbContext for Oracle integration:
using Microsoft.EntityFrameworkCore;
public class OracleDbContext : DbContext
{
public OracleDbContext(DbContextOptions<OracleDbContext> options) : base(options) { }
public DbSet<Order> Orders { get; set; }
}
2. Dependency Injection
Use ServiceCollectionExtensions to register Oracle database contexts:
using Franz.Common.EntityFramework.Oracle.Extensions;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddOracleDbContext<OracleDbContext>(options =>
options.UseOracle(
"User Id=myUser;Password=myPassword;Data Source=myDataSource"
));
}
}
3. Multi-Tenancy Support
Integrate with Franz.Common.MultiTenancy to support multiple tenants:
using Franz.Common.MultiTenancy;
using Franz.Common.EntityFramework.Oracle.Extensions;
public class Startup
{
public void ConfigureServices(IServiceCollection services)
{
services.AddMultiTenantOracleDbContext<OracleDbContext>(tenantOptions =>
{
tenantOptions.ConnectionStringResolver = tenantId =>
$"User Id=tenant_{tenantId};Password=tenantPassword;Data Source=myDataSource";
});
}
}
Integration with Franz Framework
The Franz.Common.EntityFramework.Oracle package integrates seamlessly with:
- Franz.Common.EntityFramework: Shared repository patterns and EF utilities.
- Franz.Common.MultiTenancy: Simplifies multi-tenant database configurations.
Ensure these dependencies are installed to fully leverage the library's capabilities.
Contributing
This package is part of a private framework. Contributions are limited to the internal development team. If you have access, follow these steps:
- Clone the repository. @ https://github.com/bestacio89/Franz.Common/
- Create a feature branch.
- Submit a pull request for review.
License
This library is licensed under the MIT License. See the LICENSE file for more details.
Changelog
Version 1.2.65
- Upgrade version to .net 9
Version 1.3
- Upgraded to .NET 9.0.8
- Added new features and improvements
- Separated business concepts from mediator concepts
- Now compatible with both the in-house mediator and MediatR
Dependency maintenance — October 2026
Oracle EF Core integration and its test dependency graph are part of the .NET 10 dependency validation pass. The project pins System.Security.Cryptography.Pkcs 10.0.13, and tests explicitly resolve patched SSH.NET 2026.0.0. Run Oracle Testcontainers integration tests before release. See the repository dependency upgrade record.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Franz.Common.EntityFramework (>= 2.3.1)
- Franz.Common.MultiTenancy (>= 2.3.1)
- Oracle.EntityFrameworkCore (>= 10.23.26200)
- System.Security.Cryptography.Pkcs (>= 10.0.13)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Franz.Common.EntityFramework.Oracle:
| Package | Downloads |
|---|---|
|
Franz.Common.Http.EntityFramework
Shared utility library for the Franz Framework. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2.3.1 | 4 | 10/26/2026 |
| 2.3.0 | 178 | 7/21/2026 |
| 2.2.19 | 146 | 7/19/2026 |
| 2.2.18 | 134 | 7/19/2026 |
| 2.2.17 | 235 | 7/12/2026 |
| 2.2.16 | 149 | 7/2/2026 |
| 2.2.15 | 143 | 6/29/2026 |
| 2.2.14 | 139 | 6/29/2026 |
| 2.2.13 | 136 | 6/29/2026 |
| 2.2.12 | 133 | 6/28/2026 |
| 2.2.11 | 132 | 6/28/2026 |
| 2.2.10 | 144 | 6/28/2026 |
| 2.2.9 | 137 | 6/28/2026 |
| 2.2.8 | 137 | 6/28/2026 |
| 2.2.7 | 145 | 6/7/2026 |
| 2.2.6 | 146 | 6/6/2026 |
| 2.2.5 | 144 | 6/4/2026 |
| 1.6.15 | 275 | 10/20/2025 |
| 1.6.14 | 262 | 10/15/2025 |