Overview
Draw database schemas by writing a simple text format (DBML); it renders the diagram and can export SQL.
Strengths
- Fast to write
- Exports SQL
Drawbacks
- Some features need a paid plan
Best for: Sketching a schema quickly
Draw database schemas by writing a simple text format (DBML); it renders the diagram and can export SQL.
Microsoft's ORM for .NET. Map C# classes to tables, query with LINQ, and manage schema changes with migrations. Works with SQL Server, PostgreSQL (via Npgsql), SQLite and others.
Lightweight object mapper: you write the SQL, Dapper maps the rows to C# objects. Very little overhead, which is why it's often used next to EF Core for performance-critical queries.
The official PostgreSQL manual. Unusually readable; the chapters on indexes, MVCC and EXPLAIN are worth reading in full.