The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
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
-
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.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Bogus
:card_index: A simple fake data generator for C#, F#, and VB.NET. Based on and ported from the famed faker.js.
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.
-
Event Store
EventStoreDB, the event-native database. Designed for Event Sourcing, Event-Driven, and Microservices architectures
-
.state files are not supported, according to the readme here. (disclaimer: I never used PKHex myself though)
-
This aged well - https://github.com/ravendb/ravendb/issues/13218#issuecomment...
-
-
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.
-
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
-
Project mention: Upserting complex data models from an API into EF Core entities | /r/dotnet | 2023-06-02
-
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
-
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.
-
For the developers in the audience that never heard of it, Realm is an (amazing) offline-first (mostly) mobile object database with some really nice features. This article is not an introduction to Realm though, nevertheless I expect it should be easy to follow along even if you've never used it before. If you're curious and want to learn more about it, the official documentation is a good place to start. Besides, Realm open source, so you can check the source code for the .NET SDK on Github.
-
-
NPoco
Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco
-
-
-
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
-
data-api-builder
Data API builder for Azure Databases provides modern REST and GraphQL endpoints to your Azure Databases.
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# Database related posts
- PowerBI: déployer une passerelle sur AWS pour $0.12/j
- Entity Framework Core Owned Entity
- Marten – .NET Transactional Document DB and Event Store on PostgreSQL
- Fluentmigrator 5.0.0 released
- Dapper vs. Entity Framework With Postgres
- Multi-tenancy using schemas with Entity Framework and PostgreSQL
- Linux or Windows for .net development?
-
A note from our sponsor - WorkOS
workos.com | 29 Mar 2024
Index
What are some of the best open-source Database projects in C#? This list will help you:
Project | Stars | |
---|---|---|
1 | Entity Framework | 13,249 |
2 | LiteDB | 8,161 |
3 | Bogus | 8,156 |
4 | Event Store | 5,052 |
5 | PKHeX | 3,437 |
6 | RavenDB | 3,427 |
7 | Npgsql | 3,130 |
8 | FluentMigrator | 3,117 |
9 | SqlKata Query Builder | 2,978 |
10 | LINQ to DB | 2,845 |
11 | Marten | 2,643 |
12 | Pomelo.EntityFrameworkCore.MySql | 2,625 |
13 | efcore.pg | 1,446 |
14 | Entity Framework 6 | 1,403 |
15 | Realm Xamarin | 1,205 |
16 | Yessql | 1,149 |
17 | NPoco | 835 |
18 | Insight.Database | 832 |
19 | Evolve | 822 |
20 | EntityFramework-Reverse-POCO-Code-First-Generator | 686 |
21 | data-api-builder | 671 |
22 | monitor-table-change-with-sqltabledependency | 642 |
23 | Cassandra | 621 |