C# SQL

Open-source C# projects categorized as SQL

Top 23 C# SQL Projects

  1. Dapper

    Dapper - a simple object mapper for .Net

    Project mention: Goravel: A Go framework inspired by Laravel | news.ycombinator.com | 2025-03-09

    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

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

    InfluxDB logo
  3. Bitwarden

    Bitwarden infrastructure/backend (API, database, Docker, etc). (by bitwarden)

    Project mention: Useful Sites for Privacy and Security | dev.to | 2025-03-22

    Bitwarden - Open-source password manager.

  4. DotNetGuide

    🌈【C#/.NET/.NET Core学习、工作、面试指南】记录、收集和总结C#/.NET/.NET Core基础知识、学习路线、开发实战、编程技巧练习、学习视频、文章、书籍、项目框架、社区组织、开发必备工具、技术前沿周刊、常见面试题、面试须知、简历模板、人才招聘、以及自己在学习和工作中的一些微薄见解。希望能和大家一起学习,共同进步。如果本知识库能为您提供帮助,别忘了给予支持哦(关注、点赞、分享)💖。

    Project mention: DotNetGuide: Comprehensive Resource for C#/.NET Mastery | news.ycombinator.com | 2024-08-07
  5. Opserver

    Stack Exchange's Monitoring System (by opserver)

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

    Project mention: Bulk Update with Entity Framework Core (EF Core) | dev.to | 2024-12-25

    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.

  7. Npgsql

    Npgsql is the .NET data provider for PostgreSQL.

    Project mention: C# How to ambient transaction work under the hood | dev.to | 2025-05-09

    NpgsqlConnection source

  8. FluentMigrator

    Fluent migrations framework for .NET

    Project mention: How To Create Migrations For Multiple Databases in EF Core | dev.to | 2025-02-04

    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.

  9. SaaSHub

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

    SaaSHub logo
  10. 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: You Probably Don't Need Query Builders | news.ycombinator.com | 2025-01-25

    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/

  11. LINQ to DB

    Linq to database provider.

    Project mention: Google's New Pipe Syntax in SQL | news.ycombinator.com | 2024-08-28

    There is https://github.com/linq2db/linq2db which is LINQ to SQL reincarnated.

    Of course there's EF Core too.

  12. efcore.pg

    Entity Framework Core provider for PostgreSQL

  13. System.Linq.Dynamic.Core

    The .NET Standard / .NET Core version from the System Linq Dynamic functionality.

    Project mention: ASP.NET8 using DataTables.net – Part1 – Foundation | dev.to | 2024-11-07

    [14] https://dynamic-linq.net/ A FREE & Open Source LINQ Dynamic Query Library

  14. SmartSql

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

  15. Evolve

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

  16. monitor-table-change-with-sqltabledependency

    Get SQL Server notification on record table change

  17. sqlnotebook

    SQL Notebook — Casual data exploration in SQL

  18. EntityFrameworkCore.Triggered

    Triggers for EFCore. Respond to changes in your DbContext before and after they are committed to the database.

  19. Dapper.FastCRUD

    fast .NET ORM for strongly typed people (by MoonStorm)

  20. Musoq

    SQL Syntax without any database

    Project mention: Show HN: Musoq – I've Added AI and Piping to My "SQL for Everything" Tool | news.ycombinator.com | 2024-09-13
  21. yuniql

    Free and open source schema versioning and database migration made natively with .NET/6. NEW THIS MAY 2022! v1.3.15 released!

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

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

  24. 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
  25. snowflake-connector-net

    Snowflake Connector for .NET

  26. 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# SQL discussion

Log in or Post with

C# SQL related posts

  • SQL-Server database table row count

    1 project | dev.to | 24 Feb 2025
  • Performance pode ser simples: Arquivo gigante em memória

    1 project | dev.to | 4 Feb 2025
  • Dapper – a simple object mapper for .NET

    1 project | news.ycombinator.com | 26 Jan 2025
  • Diverse AI tools used for the C# developer

    4 projects | dev.to | 19 Jan 2025
  • Net 9.0 LINQ Performance Improvements

    16 projects | news.ycombinator.com | 18 Oct 2024
  • [PT_BR] Repositório Genérico com Dapper.Contrib

    2 projects | dev.to | 9 Oct 2024
  • [PT_BR] Repositório Genérico com Dapper.Contrib

    2 projects | dev.to | 8 Oct 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 19 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

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

Sponsored
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.
www.influxdata.com