Skip to content

Instantly share code, notes, and snippets.

@afeistel
Last active September 14, 2024 15:42
Show Gist options
  • Select an option

  • Save afeistel/d9c2da02816759dba3feee6abf6bb009 to your computer and use it in GitHub Desktop.

Select an option

Save afeistel/d9c2da02816759dba3feee6abf6bb009 to your computer and use it in GitHub Desktop.

Database Support in C#

Embedded

DB Clients (C# libraries)

SQL (ADO.NET)

https://learn.microsoft.com/en-gb/dotnet/framework/data/adonet/asynchronous-programming

I highly recommend https://www.npgsql.org/doc/index.html (PostgreSQL).

If you're considering using MySQL, use MariaDB instead. https://mariadb.com/kb/en/mysqlconnector-for-ado-net/

NoSQL

DB Servers (without DB clients in .NET)

Compatible with some of other drivers

Comparison

Database Embedded Async Query Language Indexing JSON Support
ArangoDB AQL
ADO.NET SQL, CQL Partial
BerkleyDB
Cassandra CQL QL
CouchDB Mango API
DataTanker DIY
DBreeze Serial
DBTrie Serial
IoTDB SQL-like API
LevelDB Partial
LiteDB SQL-like
MongoDB
OrientDB SQL QL
RavenDB RQL API
Redis Redis
RethinkDB ReQL QL
ScyllaDB CQL, DynamoDB QL
SQLite SQL W/Extension
SurrealDB SurrealQL
Unqlite Jx9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment