SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 C# SQL Projects
-
This is the sweet spot in my opinion. I haven't been in the .NET world for a few years but there's a very similar library called Dapper. Best "ORM" I ever used.
https://github.com/DapperLib/Dapper
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Bitwarden - Open-source password manager.
-
DotNetGuide
🌈【C#/.NET/.NET Core学习、工作、面试指南】记录、收集和总结C#/.NET/.NET Core基础知识、学习路线、开发实战、编程技巧练习、学习视频、文章、书籍、项目框架、社区组织、开发必备工具、技术前沿周刊、常见面试题、面试须知、简历模板、人才招聘、以及自己在学习和工作中的一些微薄见解。希望能和大家一起学习,共同进步。如果本知识库能为您提供帮助,别忘了给予支持哦(关注、点赞、分享)💖。
Project mention: DotNetGuide: Comprehensive Resource for C#/.NET Mastery | news.ycombinator.com | 2024-08-07 -
-
EFCore.BulkExtensions
Entity Framework EF Core efcore Bulk Batch Extensions with BulkCopy in .Net for Insert Update Delete Read (CRUD), Truncate and SaveChanges operations on SQL Server, PostgreSQL, MySQL, SQLite, Oracle
This approach can be inefficient when dealing with a large number of records, leading to significant database overhead and longer execution times. To mitigate this, we can use techniques like batching, raw SQL queries, or third-party libraries like EFCore.BulkExtensions.
-
NpgsqlConnection source
-
In our products we use EF Core and we need to create migrations that are supported for all 3 databases. And we use Fluent Migrator library for this purpose. It allows creating database migration using the fluent syntax that is further translated to the needed SQL for each particular database.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
SqlKata Query Builder
SQL query builder, written in c#, helps you build complex queries easily, supports SqlServer, MySql, PostgreSql, Oracle, Sqlite and Firebird
It seems to me a big part of the problem is that the "query builder" in TFA is little more than a string builder. In the .Net world I've used SqlKata [0] and been very pleased with it. It allows you to easily dynamically build and compose queries.
0: https://sqlkata.com/
-
There is https://github.com/linq2db/linq2db which is LINQ to SQL reincarnated.
Of course there's EF Core too.
-
-
System.Linq.Dynamic.Core
The .NET Standard / .NET Core version from the System Linq Dynamic functionality.
[14] https://dynamic-linq.net/ A FREE & Open Source LINQ Dynamic Query Library
-
SmartSql
SmartSql = MyBatis in C# + .NET Core+ Cache(Memory | Redis) + R/W Splitting + PropertyChangedTrack +Dynamic Repository + InvokeSync + Diagnostics
-
-
-
-
EntityFrameworkCore.Triggered
Triggers for EFCore. Respond to changes in your DbContext before and after they are committed to the database.
-
-
Project mention: Show HN: Musoq – I've Added AI and Piping to My "SQL for Everything" Tool | news.ycombinator.com | 2024-09-13
-
yuniql
Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!
-
DacFx
DacFx, SqlPackage, and other SQL development libraries enable declarative database development and database portability across SQL versions and environments. Share feedback here on dacpacs, bacpacs, and SQL projects.
-
bulk-writer
Provides guidance for fast ETL jobs, an IDataReader implementation for SqlBulkCopy (or the MySql or Oracle equivalents) that wraps an IEnumerable, and libraries for mapping entites to table columns.
-
CSVLint
CSV Lint plug-in for Notepad++ for syntax highlighting, csv validation, automatic column and datatype detecting, fixed width datasets, change datetime format, decimal separator, sort data, count unique values, convert to xml, json, sql etc. A plugin for data cleaning and working with messy data files.
Project mention: CSV Lint update (Notepad++) text data syntax highlighting and quality validation | news.ycombinator.com | 2025-04-30 -
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
C# SQL discussion
C# SQL related posts
-
SQL-Server database table row count
-
Performance pode ser simples: Arquivo gigante em memória
-
Dapper – a simple object mapper for .NET
-
Diverse AI tools used for the C# developer
-
Net 9.0 LINQ Performance Improvements
-
[PT_BR] Repositório Genérico com Dapper.Contrib
-
[PT_BR] Repositório Genérico com Dapper.Contrib
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 May 2025
Index
What are some of the best open-source SQL projects in C#? This list will help you:
# | Project | Stars |
---|---|---|
1 | Dapper | 17,883 |
2 | Bitwarden | 16,529 |
3 | DotNetGuide | 8,356 |
4 | Opserver | 4,533 |
5 | EFCore.BulkExtensions | 3,823 |
6 | Npgsql | 3,468 |
7 | FluentMigrator | 3,367 |
8 | SqlKata Query Builder | 3,231 |
9 | LINQ to DB | 3,086 |
10 | efcore.pg | 1,652 |
11 | System.Linq.Dynamic.Core | 1,639 |
12 | SmartSql | 1,116 |
13 | Evolve | 865 |
14 | monitor-table-change-with-sqltabledependency | 661 |
15 | sqlnotebook | 610 |
16 | EntityFrameworkCore.Triggered | 579 |
17 | Dapper.FastCRUD | 513 |
18 | Musoq | 481 |
19 | yuniql | 419 |
20 | DacFx | 400 |
21 | bulk-writer | 241 |
22 | CSVLint | 190 |
23 | snowflake-connector-net | 189 |