DbEasy.ORM 1.7.0

dotnet add package DbEasy.ORM --version 1.7.0
                    
NuGet\Install-Package DbEasy.ORM -Version 1.7.0
                    
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="DbEasy.ORM" Version="1.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DbEasy.ORM" Version="1.7.0" />
                    
Directory.Packages.props
<PackageReference Include="DbEasy.ORM" />
                    
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 DbEasy.ORM --version 1.7.0
                    
#r "nuget: DbEasy.ORM, 1.7.0"
                    
#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 DbEasy.ORM@1.7.0
                    
#: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=DbEasy.ORM&version=1.7.0
                    
Install as a Cake Addin
#tool nuget:?package=DbEasy.ORM&version=1.7.0
                    
Install as a Cake Tool

📦 DbEasy.ORM

Version: 1.7.0

NuGet stable NuGet prerelease NuGet Downloads License: MIT

A lightweight, attribute-driven ORM built on top of DbEasy.


✨ Description

DbEasy.ORM is a lightweight ORM extension built on top of DbEasy. It provides entity-based CRUD operations without hiding SQL or requiring heavy configuration.


🚀 Overview

DbEasy.ORM is a minimal, fast, and flexible ORM designed for developers who want full control over SQL while benefiting from automatic mapping.

It focuses on:

⚡ Performance (metadata caching + compiled delegates)

🧠 Simplicity (no heavy configuration)

🎯 Clean architecture


⚡ Quick Start

[Table("Users")]
public class User
{
    [Key]
    public int Id { get; set; }

    [Column("username")]
    public string Username { get; set; }
}

var db = new DbContext(connectionString);

// Insert

db.Insert(new User { Username = "ammar" });

// Query

var users = db.GetAll<User>();

// Update

var user = users.First();
user.Username = "updated";
db.Update(user);

// Delete

db.Delete(user);


🚀 Features

✔ Entity metadata caching

✔ Compiled property accessors (no runtime reflection)

✔ Optimized CRUD operations

✔ ColumnSets caching

✔ Attribute-based mapping

✔ Lightweight and extensible


📦 Installation

dotnet add package DbEasy
dotnet add package DbEasy.ORM

⚡ Performance

DbEasy.ORM minimizes reflection overhead by:

Caching entity metadata

Pre-compiling property getters/setters

Avoiding runtime LINQ allocations

This results in significantly faster CRUD operations.


🏗️ Architecture

Core components:

EntityMetadata

PropertyMetadata

SQL Builders

Operations Layer


🧠 Philosophy

DbEasy.ORM is not a replacement for Entity Framework.

It is a clean,

predictable,

and lightweight ORM for developers who want:

“I know exactly what SQL is executed.”


DbEasy – Core SQL execution

https://www.nuget.org/packages/DbEasy


📄 Compatibility

.NET 6, .NET 7, .NET 8, .NET 9,.NET Standard 2.0 / 2.1

SQL Server only (more DB engines planned)


🪪 License

MIT License © Abdelwaheb Ammar


💬 Author

Developed by Abdelwaheb AMMAR

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  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 is compatible.  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 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 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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
1.7.0 106 3/28/2026
1.7.0-rc01 100 3/28/2026
1.7.0-preview01 99 3/28/2026
1.7.0-beta01 138 3/28/2026
1.6.0 101 3/1/2026
1.6.0-rc01 100 3/1/2026
1.6.0-preview01 91 3/1/2026
1.6.0-beta01 91 3/1/2026
1.5.0 110 2/8/2026
1.5.0-rc01 101 2/8/2026
1.5.0-preview01 99 2/8/2026
1.5.0-beta01 101 2/8/2026
1.4.0 108 1/18/2026
1.4.0-rc01 100 1/18/2026
1.4.0-preview01 100 1/18/2026
1.4.0-beta01 105 1/18/2026
1.3.0 110 1/11/2026
1.3.0-rc01 103 1/11/2026
1.3.0-preview01 103 1/11/2026
1.3.0-beta01 103 1/11/2026
Loading failed