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.
216
94
+ 1
0

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 1.2K GitHub stars and 503 GitHub forks. Here鈥檚 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. ...

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

  • GORM

    GORM

    It is a fantastic ORM library for Golang, aims to be developer friendly. It is an ORM library for dealing with relational databases. This library is developed on top of database/sql package. ...

Entity Framework alternatives & related posts

NHibernate logo

NHibernate

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

    related NHibernate posts

    Entity Framework Core logo

    Entity Framework Core

    104
    119
    1
    Lightweight and cross-platform version of the popular Entity Framework
    104
    119
    + 1
    1
    PROS OF ENTITY FRAMEWORK CORE
    • 4
      Fits very well with Microsoft technologies
    CONS OF ENTITY FRAMEWORK CORE
      Be the first to leave a con

      related Entity Framework Core posts

      Hibernate logo

      Hibernate

      1K
      832
      21
      Idiomatic persistence for Java and relational databases.
      1K
      832
      + 1
      21
      PROS OF HIBERNATE
      • 13
        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

      514
      935
      89
      Easy-to-use multi SQL dialect ORM for Node.js
      514
      935
      + 1
      89
      PROS OF SEQUELIZE
      • 29
        Good ORM for node.js
      • 22
        Easy setup
      • 12
        Support MySQL & MariaDB, PostgreSQL, MSSQL, Sqlite
      • 9
        Open source
      • 8
        Free
      • 6
        Promise Based
      • 2
        Atrocious documentation, buggy, issues closed by bots
      • 1
        Recommend for mongoose users
      CONS OF SEQUELIZE
      • 20
        Docs are awful
      • 3
        Relations can be confusing

      related Sequelize posts

      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
      Max Musing
      Founder & CEO at BaseDash | 0 upvote 路 3.7K views

      Hey Mohd. Those are pretty good areas to start with. For front end, focus on getting really good at JavaScript and React. Specifically, learn how to manage state in complex apps. You might want to learn Redux to help with this. Make sure you're using semantic elements in your JSX and get good at using flexbox in your CSS 3. I wouldn't necessarily use Bootstrap, it's good practice to build components yourself. A good exercise is to try to replicate a website like StackOverflow or ProductHunt from scratch.

      On backend, ExpressJS is a good place to start. Learn how to build semantic REST APIs that pull data from a database. MongoDB is fine, but I would suggest using Mongoose along with it to avoid nesting objects too much. You could alternatively use a SQL database like PostgreSQL, with an ORM like Sequelize to manage the data.

      See more
      SQLAlchemy logo

      SQLAlchemy

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

        related SQLAlchemy posts

        Django Stars
        Developer at Django Stars | 3 upvotes 路 51.6K 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鈥檙e building a project related to data analysis. Building advanced queries with Django is not very easy; it鈥檚 hard to read (in Python) and hard to understand what鈥檚 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

        226
        169
        27
        An object-relational mapper (ORM) for PHP 5.3.2+ that provides transparent persistence for PHP objects
        226
        169
        + 1
        27
        PROS OF DOCTRINE 2
        • 13
          Great abstraction, easy to use, good docs
        • 9
          Object-Oriented
        • 5
          Easy setup
        CONS OF DOCTRINE 2
          Be the first to leave a con

          related Doctrine 2 posts

          MyBatis logo

          MyBatis

          88
          92
          11
          SQL Mapper Framework for Java
          88
          92
          + 1
          11
          PROS OF MYBATIS
          • 4
            Easy to use
          • 2
            Integrated with Spring
          • 2
            Extensions
          • 2
            Flexible
          • 1
            Data-first support
          CONS OF MYBATIS
            Be the first to leave a con

            related MyBatis posts

            GORM logo

            GORM

            70
            74
            0
            The fantastic ORM library for Golang
            70
            74
            + 1
            0
            PROS OF GORM
              Be the first to leave a pro
              CONS OF GORM
                Be the first to leave a con

                related GORM posts