EntitySpaces.ORM.OracleManagedClient.NET
2026.8.0
dotnet add package EntitySpaces.ORM.OracleManagedClient.NET --version 2026.8.0
NuGet\Install-Package EntitySpaces.ORM.OracleManagedClient.NET -Version 2026.8.0
<PackageReference Include="EntitySpaces.ORM.OracleManagedClient.NET" Version="2026.8.0" />
<PackageVersion Include="EntitySpaces.ORM.OracleManagedClient.NET" Version="2026.8.0" />
<PackageReference Include="EntitySpaces.ORM.OracleManagedClient.NET" />
paket add EntitySpaces.ORM.OracleManagedClient.NET --version 2026.8.0
#r "nuget: EntitySpaces.ORM.OracleManagedClient.NET, 2026.8.0"
#:package EntitySpaces.ORM.OracleManagedClient.NET@2026.8.0
#addin nuget:?package=EntitySpaces.ORM.OracleManagedClient.NET&version=2026.8.0
#tool nuget:?package=EntitySpaces.ORM.OracleManagedClient.NET&version=2026.8.0
<img src="https://es-banner.paul-netstep.workers.dev?src=nuget_readme" alt="EntitySpaces" width="531" height="268">
EntitySpaces.ORM.OracleManagedClient.NET
Part of the modernized EntitySpaces ORM — Oracle data provider. Actively maintained fork with full .NET Framework 4.8 to .NET 10 support.
Supportability
| .NET targets | .NET Framework 4.8 · .NET 8 · .NET 9 · .NET 10 |
| Oracle | Oracle 12c – 19c · Oracle Autonomous Database (ATP) |
| Driver | ODP.NET Managed Client 23.x (Oracle.ManagedDataAccess) |
❤️ Support this project
If this provider has saved you time on a project, support its development — every contribution helps keep it free and maintained.
You can also sponsor via the ❤️ Sponsor link on this NuGet package (powered by Ko-fi).
📋 Help Shape the Roadmap
Take the 3‑minute survey – your feedback keeps EntitySpaces alive and evolving.
🛠️ Requires EntitySpaces Studio
This package provides the SQL Server runtime only — it does not generate code. Entity and Collection classes are generated from your database schema using EntitySpaces Studio, a separate WinForms tool.
- Get it from the repo: EntitySpaces.Studio
- Download the most recent
.zip— avoid any file tagged-deprecated, that build is kept for reference only. - Connect to your database under Settings → Connection, then run the Generated and Custom class templates.
New Features
- Oracle Cloud (Autonomous Database) connection support via wallet-based TLS mutual authentication
- Concurrency exception detection — custom stored-proc errors, unique constraint violations, deadlocks, and serialization failures all translate to
esConcurrencyException - Connection pool safety —
hasErrorflag +ROLLBACKinfinally, preventing aborted-transaction connections from being reused - Oracle Identity columns (
GENERATED BY DEFAULT AS IDENTITY, 12c+) detected viaALL_TAB_COLUMNS.IDENTITY_COLUMN NUMBER(p,s)correctly mapped todecimalin generated C# code for monetary/high-precision values- Navigation properties (
UpTo) generated from FK metadata inALL_CONSTRAINTS/ALL_CONS_COLUMNS - Thread-safe parameter cache — upgraded from a locked
Dictionaryto a lock-freeConcurrentDictionary, improving throughput under concurrent load - .NET 8 compatibility — explicit
ConfigurationManager.OpenExeConfigurationcall added, required because .NET 8 no longer auto-binds theoracle.manageddataaccess.clientapp.configsection - Studio metadata engine rewritten to use ODP.NET Managed instead of the legacy OLE DB driver
Fixes
CreateConnection()now correctly returns anOracleConnection— it previously returnedOleDbConnection, which caused silent failures- The
Delimitersclass was corrected to use single quotes for string literals and double quotes for identifiers — both were previously set to double quotes, which causedORA-00911(invalid character) on string comparisons - Documented the correct cleanup pattern for
TransactionScopewith ODP.NET Managed (which doesn't support DTC/MSDTC) — useTransactionScopeOption.Suppressor the providedRunWithoutTransactionhelper to avoid "transaction within transaction" errors during error cleanup
Dependency Updates
- Updated
System.Configuration.ConfigurationManagerfrom10.0.10to10.0.11- Maintenance release. No API changes affecting EntitySpaces.
Quick Samples
Load a collection:
var customers = new CustomersCollection();
customers.LoadAll();
foreach (var customer in customers)
{
Console.WriteLine(customer.CompanyName);
}
Create, update, delete an entity:
var employee = new Employees();
employee.FirstName = "Joe";
employee.LastName = "Smith";
employee.Save(); // Create
employee.LastName = "Doe";
employee.Save(); // Update
employee.MarkAsDeleted();
employee.Save(); // Delete
Oracle connection string:
esProviderFactory.Factory = new EntitySpaces.Loader.esDataProviderFactory();
esConnectionElement conn = new esConnectionElement();
conn.Provider = "EntitySpaces.OracleManagedClientProvider";
conn.ConnectionString =
"Data Source=(description=(retry_count=20)(retry_delay=3)" +
"(address=(protocol=tcps)(port=1522)(host=your-host.oraclecloud.com))" +
"(connect_data=(service_name=your_service_name)));User Id=ADMIN;Password=mypassword;";
esConfigSettings.ConnectionInfo.Connections.Add(conn);
More usage examples (joins, paging, transactions, and the full Fluent SQL API): see the main EntitySpaces README.
Generating your entity classes
See Requires EntitySpaces Studio above.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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 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 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. |
| .NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- Oracle.ManagedDataAccess (>= 23.26.200)
-
net10.0
- Oracle.ManagedDataAccess.Core (>= 23.26.200)
- System.Configuration.ConfigurationManager (>= 10.0.11)
-
net8.0
- Oracle.ManagedDataAccess.Core (>= 23.26.200)
- System.Configuration.ConfigurationManager (>= 10.0.11)
-
net9.0
- Oracle.ManagedDataAccess.Core (>= 23.26.200)
- System.Configuration.ConfigurationManager (>= 10.0.11)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
This is an actively maintained fork of the EntitySpaces ORM, built on the original architecture. This release modernizes the runtime for .NET Framework 4.8, .NET 8, .NET 9, and .NET 10. • Thread‑safe parameter cache using ConcurrentDictionary (eliminates lock contention). • Safe connection pool management with automatic rollback on errors (prevents connection leaks). • Automatic concurrency exception detection and translation. Oracle specific improvements: • Complete rewrite to use ODP.NET Managed Client (dropping legacy OLE DB). • Oracle Cloud Autonomous Database (ATP) wallet support via TNS_ADMIN. • Identity column support via GENERATED BY DEFAULT AS IDENTITY (auto‑increment). • Precise NUMBER(p,s) to Decimal mapping for financial accuracy. • Concurrency exception translation (ORA-00001, ORA-00060, ORA-08177). • Compatible with Oracle 12c–19c and Oracle Cloud ATP.