talira

Compare

FreeSqlSqlSugarEntity Framework CoreDapper
What it is.NET ORM with CodeFirst, DbFirst and support for many databases, including AOT builds.NET ORM for many databases, including China's domestic ones such as Dameng and KingbaseESA lightweight, extensible, open source and cross-platform version of Entity FrameworkA simple, fast object mapper for .NET
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.640.580.810.69
Stars440658421482318417
Last commit2026-11-272026-11-092026-11-242026-11-24
LicenceMITMITMITApache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes—
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins——Yes—
MCP server————
CompanyYe (2881099) and .NET Core CommunityFructose Big Data TechnologyMicrosoft and .NET Foundation
Microsoft: public company (NASDAQ:MSFT); .NET Foundation: non-profit
DapperLib
Features
  • CodeFirst migrations and DbFirst entity import
  • navigation properties with include and lazy loading
  • read/write separation and table or database splitting
  • global filters and optimistic and pessimistic locking
  • repository and unit of work through FreeSql.DbContext
  • AOT publishing
  • 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
  • DbContext and entity classes as the model
  • LINQ queries translated to SQL
  • change tracking and saving through entity instances
  • migrations to create and evolve the database schema
  • reverse engineering (scaffolding) a model from an existing database
  • Microsoft providers for SQL Server, Azure SQL, SQLite, Azure Cosmos DB and in-memory
  • third-party providers for PostgreSQL, MySQL, MariaDB, Oracle, MongoDB, Couchbase and more
  • cross-platform on Windows, Linux and macOS
  • Extension methods on DbConnection for queries and commands
  • Synchronous and asynchronous, buffered and unbuffered queries
  • Multi-mapping one row to several objects
  • Multiple result sets from one command
  • Parameterized queries with anonymous objects or DynamicParameters
  • Works with any ADO.NET provider