NHibernate vs Entity Framework Core: What are the differences?
What is NHibernate? The object-relational mapper for .NET. It is a mature, open source object-relational mapper for the .NET framework. It's actively developed, fully featured and used in thousands of successful projects.
What is Entity Framework Core? *Lightweight and cross-platform version of the popular Entity Framework *. It is a lightweight, extensible, open source and cross-platform version of the popular Entity Framework data access technology. It can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
NHibernate and Entity Framework Core can be categorized as "Object Relational Mapper (ORM)" tools.
NHibernate and Entity Framework Core are both open source tools. Entity Framework Core with 8.01K GitHub stars and 2.05K forks on GitHub appears to be more popular than NHibernate with 1.65K GitHub stars and 826 GitHub forks.
Heimdal Security, InnoCellence, and accuRx are some of the popular companies that use Entity Framework Core, whereas NHibernate is used by Pinnacle Sports, ProProcure, and CRM Solutions. Entity Framework Core has a broader approval, being mentioned in 3 company stacks & 13 developers stacks; compared to NHibernate, which is listed in 7 company stacks and 6 developer stacks.