Object-Relational Mapping

General information

"Object-Relational Mapping" refers to frameworks that are designed to automate processes related to database, such as reading, updating and deleting data. Usually these processes require extensive code to be implemented. By using object-relational mappers, it is made easy for developers to interact with databases.

Entity Framework

The Entity Framework is an open-source object-relational mapper for applications developed in the .NET Framework. It encompasses the retrieval of data, their saving as well as their conversion into .NET objects or the conversion of .NET objects into data. The Entity Framework used to be part of the .NET Framework but is now provided as a separate entity.

Video

Installation via Visual Studio

  1. Right-click on project

  2. Select "NuGet Packages"

  3. Search for "Microsoft.EntityFrameworkCore" (in "Browse" tab)

  4. Download package for the server you are using (e.g."SqlServer")

Last updated