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: Multi-tenancy using schemas with Entity Framework and PostgreSQL | dev.to | 2023-10-16

    * You can check the original CreateMigration implementation at: https://github.com/dotnet/efcore/blob/release/7.0/src/EFCore.Relational/Migrations/Internal/MigrationsAssembly.cs

  • 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: PowerBI: déployer une passerelle sur AWS pour $0.12/j | dev.to | 2024-03-14
  • 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: Blazor and Data API Builder | /r/Blazor | 2023-05-25
  • 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

  • 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
  • Fluentmigrator 5.0.0 released

    3 projects | /r/csharp | 11 Dec 2023
  • Dapper vs. Entity Framework With Postgres

    3 projects | /r/dotnet | 6 Dec 2023
  • Multi-tenancy using schemas with Entity Framework and PostgreSQL

    2 projects | dev.to | 16 Oct 2023
  • Linux or Windows for .net development?

    1 project | /r/dotnet | 14 Aug 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 9 May 2024
    SaaSHub helps you find the best software and product alternatives 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,354
2 Bogus 8,307
3 LiteDB 8,266
4 Event Store 5,099
5 PKHeX 3,490
6 RavenDB 3,444
7 Npgsql 3,164
8 FluentMigrator 3,140
9 SqlKata Query Builder 3,003
10 LINQ to DB 2,862
11 Marten 2,674
12 Pomelo.EntityFrameworkCore.MySql 2,644
13 efcore.pg 1,464
14 Entity Framework 6 1,409
15 Realm Xamarin 1,218
16 Yessql 1,156
17 Insight.Database 847
18 NPoco 835
19 Evolve 826
20 data-api-builder 703
21 EntityFramework-Reverse-POCO-Code-First-Generator 693
22 monitor-table-change-with-sqltabledependency 645
23 Cassandra 624

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