dotnetcore/FreeSql
.NET aot orm, VB.NET/C# orm, Mysql/PostgreSQL/SqlServer/Oracle orm, Sqlite/Firebird/Clickhouse/DuckDB orm, 达梦/金仓/虚谷/翰高/高斯 orm, 神通 orm, 南大通用 orm, 国产 orm, TDengine orm, QuestDB orm, MsAccess orm. observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 95
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 18.5
- age_days: 2815
- days_rel: 33
- days_push: 33
- n_releases_24m: 25
Adoption not part of the score
4406 stars · 908 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
FreeSql is a powerful Object-Relational Mapping (ORM) library for .NET, supporting .NET Core 2.1+, .NET Framework 4.0+, Xamarin, and AOT compilation. It provides CodeFirst migrations, DbFirst entity generation, rich type mapping, navigation properties, and read/write separation across a very wide range of databases including MySQL, PostgreSQL, SQL Server, Oracle, SQLite, ClickHouse, DuckDB, and many Chinese domestic databases.
Use cases
- map C# entities to database tables in a .NET application
- perform CodeFirst database migrations from entity classes
- generate entity classes from an existing database schema
- query databases with LINQ-style expression functions
- set up read/write separation and table/database splitting
- connect to Chinese domestic databases like Dameng, Kingbase, or GBase from .NET
- use an ORM in AOT-compiled .NET applications
When to choose
- you are building a .NET application that needs database access across many database engines
- you need AOT-compatible ORM support
- you require CodeFirst migrations plus DbFirst entity generation in one tool
- you work with Chinese domestic databases (Dameng, Kingbase, HighGo, GBase, etc.)
When to avoid
- your project is not on the .NET platform
- you prefer Microsoft's standard EF Core ecosystem and tooling
- you need a micro-ORM with minimal features and tiny footprint
- your team has no capacity to evaluate a community-maintained ORM over mainstream options
Facets
library · maturity active
orm database database-driver databases backend developer-tools dotnet cross-platform codefirst dbfirst mysql postgresql sqlserver oracle sqlite clickhouse duckdb aot read-write-separation sharding chinese-databases
1 source
- readme: https://github.com/dotnetcore/FreeSql · fetched 2026-08-28 · bd7115f76e2f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotnetcore/FreeSql | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="dotnetcore/FreeSql")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem