Alternatives to Entity Framework logo

Alternatives to Entity Framework

NHibernate, Entity Framework Core, Hibernate, Sequelize, and SQLAlchemy are the most popular alternatives and competitors to Entity Framework.
787
153
+ 1
8

What is Entity Framework and what are its top alternatives?

It is an object-relational mapper that enables .NET developers to work with relational data using domain-specific objects. It eliminates the need for most of the data-access code that developers usually need to write.
Entity Framework is a tool in the Object Relational Mapper (ORM) category of a tech stack.
Entity Framework is an open source tool with GitHub stars and GitHub forks. Here’s a link to Entity Framework's open source repository on GitHub

Top Alternatives to Entity Framework

  • NHibernate
    NHibernate

    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. ...

  • Entity Framework Core
    Entity Framework Core

    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. ...

  • Hibernate
    Hibernate

    Hibernate is a suite of open source projects around domain models. The flagship project is Hibernate ORM, the Object Relational Mapper. ...

  • Sequelize
    Sequelize

    Sequelize is a promise-based ORM for Node.js and io.js. It supports the dialects PostgreSQL, MySQL, MariaDB, SQLite and MSSQL and features solid transaction support, relations, read replication and more. ...

  • SQLAlchemy
    SQLAlchemy

    SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL. ...

  • Doctrine 2
    Doctrine 2

    Doctrine 2 sits on top of a powerful database abstraction layer (DBAL). One of its key features is the option to write database queries in a proprietary object oriented SQL dialect called Doctrine Query Language (DQL), inspired by Hibernates HQL. ...

  • Dapper
    Dapper

    It is an object-relational mapping product for the Microsoft.NET platform: it provides a framework for mapping an object-oriented domain model to a traditional relational database. ...

  • MyBatis
    MyBatis

    It is a first class persistence framework with support for custom SQL, stored procedures and advanced mappings. It eliminates almost all of the JDBC code and manual setting of parameters and retrieval of results. It can use simple XML or Annotations for configuration and map primitives, Map interfaces and Java POJOs (Plain Old Java Objects) to database records. ...

Entity Framework alternatives & related posts

NHibernate logo

NHibernate

70
69
4
The object-relational mapper for .NET
70
69
+ 1
4
PROS OF NHIBERNATE
  • 4
    DDD friendly
CONS OF NHIBERNATE
    Be the first to leave a con

    related NHibernate posts

    Entity Framework Core logo

    Entity Framework Core

    253
    174
    12
    Lightweight and cross-platform version of the popular Entity Framework
    253
    174
    + 1
    12
    PROS OF ENTITY FRAMEWORK CORE
    • 7
      Fits very well with Microsoft technologies
    • 1
      Linq
    • 1
      Fast
    • 1
      OpenSource
    • 1
      Multiple Database provider
    • 1
      Easy to use
    CONS OF ENTITY FRAMEWORK CORE
      Be the first to leave a con

      related Entity Framework Core posts

      Hibernate logo

      Hibernate

      1.3K
      994
      25
      Idiomatic persistence for Java and relational databases.
      1.3K
      994
      + 1
      25
      PROS OF HIBERNATE
      • 17
        Easy ORM
      • 7
        Easy transaction definition
      • 1
        Is integrated with spring jpa
      CONS OF HIBERNATE
      • 3
        Can't control proxy associations when entity graph used

      related Hibernate posts

      Sequelize logo

      Sequelize

      691
      1.2K
      122
      Easy-to-use multi SQL dialect ORM for Node.js
      691
      1.2K
      + 1
      122
      PROS OF SEQUELIZE
      • 35
        Good ORM for node.js
      • 26
        Easy setup
      • 16
        Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
      • 13
        Open source
      • 12
        Free
      • 10
        Promise Based
      • 3
        Recommend for mongoose users
      • 3
        Atrocious documentation, buggy, issues closed by bots
      • 2
        Typescript
      • 2
        Newest Sequelize on 2022 was better at documentation
      CONS OF SEQUELIZE
      • 28
        Docs are awful
      • 7
        Relations can be confusing

      related Sequelize posts

      Dieudonné ALLOGNON
      Junior Fullstack Developer · | 5 upvotes · 103.8K views

      Hey! I am actually in internship and have an app to create for my structure. It will be an intern app which will allow crud dashboard actions with some data provided by the use of an API of one of the structure partner and make a correspondence to data contained in a private database. Since it's an intern app, I thought about Electron for a desktop app because I did a lot of web with Laravel and the structure goes more for the desktop app. But it will be my first occasion working with this tech.

      Is Electron a good choice? Wich ORM should be more complete and adapted to this between Sequelize and TypeORM? (Database will be MySQL) Some charts will be displayed in the app. Is there a library (preferably without jQuery) that suits this stack?

      Thank you !

      See more

      What is the best way to increase your income as a freelancer in 2019? What frameworks should be the best to learn? React Node.js Docker Kubernetes Sequelize Mongoose MongoDB ExpressJS hapi Based on trends I've picked up a JS full stack. If you need to work under startups you may replace React with Vue.js . If you want to work in outsourcing Angular 2+ may be better.

      What is your opinion?

      See more
      SQLAlchemy logo

      SQLAlchemy

      594
      402
      5
      The Python SQL Toolkit and Object Relational Mapper
      594
      402
      + 1
      5
      PROS OF SQLALCHEMY
      • 5
        Open Source
      CONS OF SQLALCHEMY
        Be the first to leave a con

        related SQLAlchemy posts

        Django Stars
        Developer at Django Stars · | 3 upvotes · 95.8K views

        Merging Django ORM with SQLAlchemy for Easier Data Analysis (Video Inside)

        Development of products with Django framework is usually easy and straightforward; great documentation, many tools out of the box, plenty of open source libraries and big community. Django ORM takes full control about SQL layer protecting you from mistakes, and underlying details of queries so you can spend more time on designing and building your application structure in Python code. However, sometimes such behavior may hurt - for example, when you’re building a project related to data analysis. Building advanced queries with Django is not very easy; it’s hard to read (in Python) and hard to understand what’s going on in SQL-level without logging or printing generated SQL queries somewhere. Moreover, such queries could not be efficient enough, so this will hit you back when you load more data into DB to play with. In one moment, you can find yourself doing too much raw SQL through Django cursor, and this is the moment when you should do a break and take a look on another interesting tool, which is placed right between ORM layer and the layer of raw SQL queries.

        See more
        Doctrine 2 logo

        Doctrine 2

        253
        196
        31
        An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects
        253
        196
        + 1
        31
        PROS OF DOCTRINE 2
        • 14
          Great abstraction, easy to use, good docs
        • 10
          Object-Oriented
        • 7
          Easy setup
        CONS OF DOCTRINE 2
          Be the first to leave a con

          related Doctrine 2 posts

          Dapper logo

          Dapper

          172
          47
          2
          A simple object mapper for .Net
          172
          47
          + 1
          2
          PROS OF DAPPER
          • 2
            Fastest ORM
          CONS OF DAPPER
            Be the first to leave a con

            related Dapper posts

            MyBatis logo

            MyBatis

            149
            142
            17
            SQL Mapper Framework for Java
            149
            142
            + 1
            17
            PROS OF MYBATIS
            • 6
              Easy to use
            • 3
              Extensions
            • 3
              Integrated with Spring
            • 3
              Flexible
            • 2
              Data-first support
            • 0
              Ok
            CONS OF MYBATIS
              Be the first to leave a con

              related MyBatis posts