Skip to main content
.NETFramework4.8net8.0net9.0net10.0

A hybrid .NET ORM library for Oracle.

Published
Mar 2, 2026
7mo ago
Total Downloads
4.6K
4,578

Install

dotnet add package AmpScm.RepoDb.Oracle --version 1.2026.302.405
ProductVersions
.NET
net10.0net8.0net9.0
Other
.NETFramework4.8

README

MSBuild-CI Version GitterChat

RepoDb.Oracle - a hybrid .NET ORM library for Oracle.

RepoDB is an open-source .NET ORM library that bridges the gaps of micro-ORMs and full-ORMs. It helps you simplify the switch-over of when to use the BASIC and ADVANCE operations during the development.

Important Pages

  • GitHub Home Page - to learn more about the core library.
  • Website - docs, features, classes, references, releases and blogs.

Community Engagements

Dependencies

  • Npgsql - the data provider used for Oracle.
  • RepoDb - the core library of RepoDB.

License

Apache-2.0


Installation

At the Package Manager Console, write the command below.

> Install-Package AmpScm.RepoDb.Oracle

Or, visit our installation page for more information.

Get Started

First, RepoDB must be configured and Oracle support loaded.

GlobalConfiguration.Setup().UseOracle();

Note: The call must be done once.

After the bootstrap initialization, any library operation can then be called.

Or, visit the official get-started page for Oracle.

Query

using (var connection = new OracleConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(c => c.Id == 10045);
}

Insert

var customer = new Customer
{
	FirstName = "John",
	LastName = "Doe",
	IsActive = true
};
using (var connection = new OracleConnection(ConnectionString))
{
	var id = connection.Insert<Customer>(customer);
}

Update

using (var connection = new OracleConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	customer.FirstName = "John";
	customer.LastUpdatedUtc = DateTime.UtcNow;
	var affectedRows = connection.Update<Customer>(customer);
}

Delete

using (var connection = new OracleConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	var deletedCount = connection.Delete<Customer>(customer);
}

Changes from Previous Version

v1.15.2602.20384v1.2026.302.405
Added Dependencies
System.Text.Json(.NETFramework4.8)

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 4 target frameworks; confirm the exact target used by your application.The published metadata declares 14 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.