# SqlSugar

> .NET ORM for many databases, including China's domestic ones such as Dameng and KingbaseES

Source: https://talira.ai/catalog/sqlsugar-w25wp5p4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / databases / orm](https://talira.ai/categories/libraries/databases/orm), [languages / dotnet](https://talira.ai/categories/languages/dotnet)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Fructose Big Data Technology](https://talira.ai/orgs/fructose-big-data.md)

SqlSugar is an open source ORM for .NET (.NET Framework, .NET Core 3.1 and .NET 5 to 10), maintained by the Fructose Big Data Technology team. It aims to be simple out of the box: table creation, indexes and CRUD without writing SQL, join and include queries, inserts, updates and deletes without entity classes or from JSON, cross-database queries, and multi-tenant setups with tenant databases, sharded tables and data isolation. It supports MySQL, SQL Server, SQLite, Oracle, PostgreSQL, MongoDB, ClickHouse, DuckDB, SAP HANA, OceanBase, TiDB, QuestDB, TDengine and China's domestic databases such as Dameng, KingbaseES, Huawei GaussDB, Shentong, Highgo and GBase.

## Links

- GitHub: https://github.com/DotNetNext/SqlSugar
- Docs: https://github.com/DotNetNext/SqlSugar/wiki

## Problems it solves

- an ORM for .NET that works with Dameng or KingbaseES databases
- query several databases from one .NET ORM
- split a .NET app's data into a database per tenant

## Features

- create tables and indexes and run CRUD without writing SQL
- join and include queries
- insert, update and delete without entity classes, or from JSON
- cross-database queries
- multi-tenant support: tenant databases, sharded tables and data isolation
- repository, unit of work, DbContext and AOP

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.73, adoption 0.75, momentum 0.50, community 0.80, backing 0.30, extensibility 0.00.

- last commit 21 days ago
- 19 commits in the last 90 days
- latest release 5.1.4.187 20 months ago
- 5.8k GitHub stars
- 100 contributors
- backed by Fructose Big Data Technology

## Alternatives

- [FreeSql](https://talira.ai/catalog/freesql-04nn0ey7.md): .NET ORM with CodeFirst, DbFirst and support for many databases, including AOT builds
- [SQLite-net](https://talira.ai/catalog/sqlite-net-avpe871v.md): A small SQLite client and ORM for .NET
- [Entity Framework Core](https://talira.ai/catalog/entity-framework-core-g9v76f6s.md): A lightweight, extensible, open source and cross-platform version of Entity Framework
- [Dapper](https://talira.ai/catalog/dapper-jfex180x.md): A simple, fast object mapper for .NET
- [NHibernate](https://talira.ai/catalog/nhibernate-gfnh66tq.md): The object-relational mapper for .NET
- [Entity Framework 6](https://talira.ai/catalog/entity-framework-6-45218x7z.md): A tried and tested object-relational mapper for .NET

## Sources

[^1]: https://github.com/DotNetNext/SqlSugar/blob/master/README.md (checked 28 Nov 2026)
[^2]: https://github.com/DotNetNext/SqlSugar/blob/master/LICENSE (checked 28 Nov 2026)
