C# Database

Open-source C# projects categorized as Database
Topics: .NET C# SQL C# Postgresql

Top 23 C# Database Projects

  • Entity Framework

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

  • Project mention: Runtime code generation and execution in Go | news.ycombinator.com | 2024-05-29

    This looks like a fun project but for serious work, if you need runtime codegen, you should use .NET which has been successfully using reflection and IL emit for more than a decade:

    - Regex https://github.com/dotnet/runtime/blob/main/src/libraries/Sy...

    - Json https://github.com/neuecc/Utf8Json/tree/master?tab=readme-ov... (this project is archived but nonetheless impressive and continues to show good numbers despite obsoletion)

    - LINQ to DB query compilation https://github.com/dotnet/efcore/blob/main/src/EFCore/Query/...

  • Bogus

    :card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.

  • Project mention: Bogus custom Dataset | dev.to | 2024-01-06

    Bogus NuGet package is fake data generator which can be helpful for populating tables in a database and testing purposes. If a database is not used and Bogus populates list of data each time an application runs, the data is random, never the same. Also, the random data generated by Bogus may not meet a developer’s requirements.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • LiteDB

    LiteDB - A .NET NoSQL Document Store in a single data file

  • Project mention: Local migrations for embedded SQLite in F# | dev.to | 2024-03-02

    Personally, I used to use LiteDB which is a NoSQL version which in v4 paired very nicely with F# thanks to Zaid's lovely LiteDB.FSharp library. Sadly, when v5 showed up, a lot of the F# niceties were lost given how the API was changed and v5 was not very F# friendly. You can still use it of course but you fall back to more unsafe F# code which is not ideal.

  • Event Store

    EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures

  • PKHeX

    Pokémon Save File Editor

  • Project mention: Japanese Police Arrest Man for Tampering with Pokémon Violet Save Data | news.ycombinator.com | 2024-04-12

    I'd eat my shoe if the dude wasn't just using exactly that https://github.com/kwsch/PKHeX

  • RavenDB

    ACID Document Database

  • Project mention: RavenDB 6.0.2 (A Jepsen Report) | news.ycombinator.com | 2024-01-31

    This aged well - https://github.com/ravendb/ravendb/issues/13218#issuecomment...

  • Npgsql

    Npgsql is the .NET data provider for PostgreSQL.

  • Project mention: Server-side cache for YugabyteDB sequences to workaround the Nspgl `DISCARD SEQUENCES` | dev.to | 2024-05-16

    DISCARD SEQUENCES is useless and not scalable #5705

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • FluentMigrator

    Fluent migrations framework for .NET

  • Project mention: Entity Framework Core Owned Entity | dev.to | 2024-02-15

    Fluent Migrator

  • SqlKata Query Builder

    SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird

  • LINQ to DB

    Linq to database provider.

  • Project mention: Upserting complex data models from an API into EF Core entities | /r/dotnet | 2023-06-02
  • Marten

    .NET Transactional Document DB and Event Store on PostgreSQL

  • Project mention: Marten – .NET Transactional Document DB and Event Store on PostgreSQL | news.ycombinator.com | 2024-02-01
  • Pomelo.EntityFrameworkCore.MySql

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

  • efcore.pg

    Entity Framework Core provider for PostgreSQL

  • Project mention: Relational is more than SQL | news.ycombinator.com | 2023-09-16

    LINQ in EntityFramework (EF) supports querying JSON columns as objects [1].

    unnest support is on the roadmap for EF core for PG [2], but already supported for Couchbase [3].

    [1] https://learn.microsoft.com/en-ca/ef/core/what-is-new/ef-cor...

    [2] https://github.com/npgsql/efcore.pg/issues/1525

    [3] https://github.com/couchbaselabs/Linq2Couchbase/blob/master/...

  • 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.

  • Realm Xamarin

    Realm is a mobile database: a replacement for SQLite & ORMs

  • Yessql

    A .NET document database working on any RDBMS

  • Insight.Database

    Fast, lightweight .NET micro-ORM

  • NPoco

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

  • Evolve

    Database migration tool for .NET and .NET Core projects. Inspired by Flyway.

  • data-api-builder

    Data API builder provides modern REST and GraphQL endpoints to your Azure Databases and on-prem stores.

  • Project mention: Data API Builder for Azure Databases | news.ycombinator.com | 2024-05-15
  • EntityFramework-Reverse-POCO-Code-First-Generator

    EntityFramework Reverse POCO Code First Generator - Beautifully generated code that is fully customisable. This generator creates code as if you reverse engineered a database and lovingly created the code by hand. It is free to academics (you need a .edu or a .ac email address), not free for commercial use. Obtain your licence from

  • monitor-table-change-with-sqltabledependency

    Get SQL Server notification on record table change

  • Cassandra

    DataStax C# Driver for Apache Cassandra

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
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).

C# Database related posts

  • Server-side cache for YugabyteDB sequences to workaround the Nspgl `DISCARD SEQUENCES`

    1 project | dev.to | 16 May 2024
  • Data API Builder for Azure Databases

    1 project | news.ycombinator.com | 15 May 2024
  • Did GitHub Copilot increase my productivity?

    2 projects | news.ycombinator.com | 12 May 2024
  • Assumptions in Software Development (with EF Core as example)

    1 project | dev.to | 11 May 2024
  • PowerBI: déployer une passerelle sur AWS pour $0.12/j

    3 projects | dev.to | 14 Mar 2024
  • Entity Framework Core Owned Entity

    2 projects | dev.to | 15 Feb 2024
  • Marten – .NET Transactional Document DB and Event Store on PostgreSQL

    1 project | news.ycombinator.com | 1 Feb 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 1 Jun 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Index

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

Project Stars
1 Entity Framework 13,405
2 Bogus 8,404
3 LiteDB 8,292
4 Event Store 5,120
5 PKHeX 3,517
6 RavenDB 3,452
7 Npgsql 3,180
8 FluentMigrator 3,153
9 SqlKata Query Builder 3,021
10 LINQ to DB 2,878
11 Marten 2,681
12 Pomelo.EntityFrameworkCore.MySql 2,652
13 efcore.pg 1,472
14 Entity Framework 6 1,412
15 Realm Xamarin 1,221
16 Yessql 1,159
17 Insight.Database 852
18 NPoco 837
19 Evolve 826
20 data-api-builder 767
21 EntityFramework-Reverse-POCO-Code-First-Generator 697
22 monitor-table-change-with-sqltabledependency 646
23 Cassandra 628

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com