Open-source C# projects categorized as ORM

Top 23 C# ORM Projects

  • GitHub repo Dapper

    Dapper - a simple object mapper for .Net

    Project mention: A couple of questions about dotnet from a Java developer :) | reddit.com/r/dotnet | 2021-02-19

    Entity Framework Core StackExchange/Dapper

  • GitHub repo Entity Framework

    EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

    Project mention: Cell CMS - Criando testes de maneira prática | dev.to | 2021-01-31

    dotnet / efcore

  • Scout

    Get performance insights in less than 4 minutes. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo FluentMigrator

    Fluent migrations framework for .NET

  • GitHub repo LINQ to DB

    Linq to database provider.

    Project mention: Is EF Core a step backwards from EF 6? | reddit.com/r/dotnet | 2021-02-02

    Well, I'm maintaining https://github.com/linq2db/linq2db for six years, because it does.

  • GitHub repo Pomelo.EntityFrameworkCore.MySql

    Entity Framework Core provider for MySQL and MariaDB built on top of MySqlConnector

    Project mention: Question about C# and MySql | reddit.com/r/csharp | 2021-02-18

    For MySQL and friends you'll need the Pomelo data provider from https://github.com/PomeloFoundation/Pomelo.EntityFrameworkCore.MySql . Turns out there's an example of using the MySQL provider about halfway down that shows how to, but it is missing the '-o Model' parameter that you'd use to get your database model into a folder called Model.

  • GitHub repo NHibernate

    NHibernate Object Relational Mapper

  • GitHub repo PetaPoco

    Official PetaPoco, A tiny ORM-ish thing for your POCO's

  • Uno Platform

    Pixel-Perfect Multi-Platform Applications with C# and XAML. Build single-codebase applications for Windows, Web, Linux, macOS, iOS and Android with open-source Uno Platform. Fluent and Material design included in-the-box. Try now via 3 min tutorial.

  • GitHub repo Massive

    A small, happy, dynamic MicroORM for .NET that will love you forever.

  • GitHub repo Fluent NHibernate

    Fluent NHibernate!

  • GitHub repo ServiceStack.OrmLite

    Fast, Simple, Typed ORM for .NET

  • GitHub repo Dapper Extensions

    Dapper Extensions is a small library that complements Dapper by adding basic CRUD operations (Get, Insert, Update, Delete) for your POCOs. For more advanced querying scenarios, Dapper Extensions provides a predicate system. The goal of this library is to keep your POCOs pure by not requiring any attributes or base class inheritance.

  • GitHub repo Entity Framework 6

    This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/dotnet/efcore.

  • GitHub repo LINQKit

    LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.

  • GitHub repo SmartSql

    SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics

  • GitHub repo NPoco

    Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco

  • GitHub repo MicroOrm.Dapper.Repositories

    CRUD for Dapper

  • GitHub repo LINQ to Twitter

    LINQ Provider for the Twitter API (C# Twitter Library)

  • GitHub repo Dapper.FastCRUD

    The fastest micro-orm extension for Dapper

  • GitHub repo Tortuga Chain

    Micro ORM for .Net

  • GitHub repo BL Toolkit

    Business Logic Toolkit for .NET

  • GitHub repo DbExtensions

    Data-access framework with a strong focus on query composition, granularity and code aesthetics.

  • GitHub repo JsonFlatFileDataStore

    Simple JSON flat file data store with support for typed and dynamic data.

  • GitHub repo ORMi

    A Light-ORM for accesing WMI

    Project mention: Writing a simple process monitor with WMI and C# | dev.to | 2021-01-02

    In this article we are going to see how we can create a Windows process monitor using WMI. For this purpose we are going to use ORMi library.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-02-19.


What are some of the best open-source ORM projects in C#? This list will help you:

Project Stars
1 Dapper 13,366
2 Entity Framework 9,952
3 FluentMigrator 2,438
4 LINQ to DB 1,982
5 Pomelo.EntityFrameworkCore.MySql 1,848
6 NHibernate 1,845
7 PetaPoco 1,786
8 Massive 1,769
9 Fluent NHibernate 1,598
10 ServiceStack.OrmLite 1,474
11 Dapper Extensions 1,452
12 Entity Framework 6 1,210
13 LINQKit 877
14 SmartSql 773
15 NPoco 753
16 MicroOrm.Dapper.Repositories 418
17 LINQ to Twitter 394
18 Dapper.FastCRUD 359
19 Tortuga Chain 307
20 BL Toolkit 283
21 DbExtensions 212
22 JsonFlatFileDataStore 207
23 ORMi 174