Entity Framework 6 VS SqlSugar

Compare Entity Framework 6 vs SqlSugar and see what are their differences.

Entity Framework 6

This is the codebase for Entity Framework 6 (previously maintained at https://entityframework.codeplex.com). Entity Framework Core is maintained at https://github.com/dotnet/efcore. (by dotnet)

SqlSugar

.Net aot ORM Fastest ORM Simple Easy Sqlite orm Oracle ORM Mysql Orm postgresql ORm SqlServer oRm 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET5 ORM .NET6 ORM ClickHouse orm QuestDb ,TDengine ORM,OceanBase orm,GaussDB orm ,Tidb orm Object/Relational Mapping (by DotNetNext)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Entity Framework 6 SqlSugar
2 -
1,407 5,025
0.3% -
8.3 10.0
7 days ago about 19 hours ago
C# C#
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Entity Framework 6

Posts with mentions or reviews of Entity Framework 6. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-10.
  • ASP.NET Performance optimization question
    2 projects | /r/csharp | 10 Feb 2022
    Additionally, an individual context will also cache the actual sql being performed and their docs go over the caching it does here regarding that.
  • Ask HN: What tangible benefits did you get from spending time on HN?
    2 projects | news.ycombinator.com | 6 Mar 2021
    Every so often, posts from Bruce Dawson's blog get posted here - one such post was about using Event Tracing for Windows to diagnose an issue with an NTFS lock being held causing 63 cores to idle while 1 does all the work.

    https://randomascii.wordpress.com/2019/10/20/63-cores-blocke...

    A few months later, some other people in my team were struggling to diagnose an issue in production where a legacy webapp was struggling to scale up and fully use all 64 cores of the server we needed it to run on. I stepped in to help and remembered that post I'd seen on HN. We used ETW (through Windows Performance Recorder and Windows Performance Analyzer) to profile our app and I looked into the Wait Analysis. Turns out that Entity Framework 6 uses a ReaderWriterLockSlim to guard a cache, and that particular lock performs extremely poorly under heavy contention. Heavy in our case meant that for a single page build of one of this app's "hot path" pages, this lock would be taken a few hundred thousand times. We weren't the first to discover this:

    https://github.com/dotnet/ef6/issues/1500

    What some other people in my team were struggling with for about two weeks was resolved in a single day thanks to me goofing off and reading HN. (We ultimately used a fork of EF6 that didn't suffer from this issue to solve our problem)

SqlSugar

Posts with mentions or reviews of SqlSugar. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning SqlSugar yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing Entity Framework 6 and SqlSugar you can also consider the following projects:

PetaPoco - Official PetaPoco, A tiny ORM-ish thing for your POCO's

Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.

Dapper - Dapper - a simple object mapper for .Net [Moved to: https://github.com/DapperLib/Dapper]

NHibernate - NHibernate Object Relational Mapper

FreeSql - 🦄 .NET aot orm, C# orm, VB.NET orm, Mysql orm, Postgresql orm, SqlServer orm, Oracle orm, Sqlite orm, Firebird orm, 达梦 orm, 人大金仓 orm, 神通 orm, 翰高 orm, 南大通用 orm, 虚谷 orm, 国产 orm, Clickhouse orm, QuestDB orm, MsAccess orm.

ServiceStack.OrmLite - Fast, Simple, Typed ORM for .NET

LINQ to DB - Linq to database provider.

MockQueryable - Mocking Entity Framework Core operations such ToListAsync, FirstOrDefaultAsync etc

Dapper.MicroCRUD - CRUD Extensions for Dapper.Net