An Open Source Remembrance of Microsoft Supported Entity Framework (ORM). This enables developers to work with data using the objects of domain-specific classes, not to focus on the basic database tables and columns stored by this data. With the entry framework, developers can work on a higher level of abstraction and maintain data-oriented applications to create less code than traditional applications.
Entity Framework is an Object-Relational Mapper (ORM) to work with a database using .NET objects that enables the .NET developers. It deletes the need for most of the data-access code that the developers used to write.
An ORM takes care of taking query results, creating database connections, executing commands, and automatically materializing the results as application objects. An ORM helped keep track of changes in that object and suggested that instruction and returned to the database.
Microsoft introduced Entity Framework in 2008 with .NET Framework 3.5. Since then, it has released many versions of Entity Framework. Currently, there are two latest versions of Entity Framework: EF 6 and EF Core. The following table lists the important difference between EF 6 and EF Core.
EF 6 | EF Core |
---|---|
First released in 2008 with .NET Framework 3.5 SP1 | First released in June 2016 with .NET Core 1.0 |
Stable and feature-rich | New and Evolving |
Windows only | Windows, Linux, OSX |
Works on .NET Framework 3.5+ | Works on .NET Framework 4.5+ and .NET Core |
Open Source | Open-Source |
|